SuccessChanges

Summary

  1. [clangd] NFC, add getLangOpts helper to ParsedAST (details)
  2. [clangd]  Add a tweak refactoring to wrap Objective-C string literals in (details)
  3. gn build: Merge 27f12444575 (details)
  4. [clang][IFS] Ignoring -Xlinker/-Xclang arguments in InterfaceStubs pass (details)
Commit c0ee0224c4cf52bc6ba74dec88b30b850deca523 by Alex Lorenz
[clangd] NFC, add getLangOpts helper to ParsedAST
The addition of the helper is split out from
https://reviews.llvm.org/D69543 as suggested by Kadir. I also updated
the existing uses to use the new API.
The file was modifiedclang-tools-extra/clangd/unittests/CollectMacrosTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExtractFunction.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/RawStringLiteral.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/SemanticSelection.cpp
The file was modifiedclang-tools-extra/clangd/ParsedAST.h
The file was modifiedclang-tools-extra/clangd/HeaderSourceSwitch.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SourceCodeTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
Commit 27f124445755a80e048a68d2fabbd2fa6f40a723 by Alex Lorenz
[clangd]  Add a tweak refactoring to wrap Objective-C string literals in
`NSLocalizedString` macros
The commit adds a refactoring to Clangd that mimics the existing
refactoring action in Xcode that wraps around an Objective-C string
literal in an NSLocalizedString macro.
Differential Revision: https://reviews.llvm.org/D69543
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
The file was addedclang-tools-extra/clangd/refactor/tweaks/ObjCLocalizeStringLiteral.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
Commit 26f06064157272d47a84e2ddcf6ebc4c99c2e9d8 by llvmgnsyncbot
gn build: Merge 27f12444575
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/refactor/tweaks/BUILD.gn
Commit 4ef9110b8d1004840d70477382c6bd10fb487fb6 by puyan
[clang][IFS] Ignoring -Xlinker/-Xclang arguments in InterfaceStubs pass
for now.
Many of the inputs to clang driver toolchain tools can be things other
than files such as -Xclang and -Xlinker arguments. For now we don't take
such tool pass-through type arguments (although having an -Xifs would be
nice to have to replace things like -emit-merged-ifs). So because for
the moment we are not doing any sort of argument pass-through, I am
going to have InterfaceStubs Merger ignore any non-file type input
arguments.
Differential Revision: https://reviews.llvm.org/D70838
The file was addedclang/test/InterfaceStubs/XlinkerInputArgs.cpp
The file was modifiedclang/lib/Driver/ToolChains/InterfaceStubs.cpp