[all-commits] [llvm/llvm-project] 501f92: [llvm] Construct option's prefixed name at compile...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Wed Aug 9 09:52:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 501f92d343828c0066d3286c3ae6606021b8b271
https://github.com/llvm/llvm-project/commit/501f92d343828c0066d3286c3ae6606021b8b271
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2023-08-09 (Wed, 09 Aug 2023)
Changed paths:
M clang-tools-extra/clangd/CompileCommands.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Tooling/Tooling.cpp
M llvm/include/llvm/Option/OptTable.h
M llvm/include/llvm/Option/Option.h
M llvm/lib/Option/OptTable.cpp
M llvm/unittests/Option/OptionMarshallingTest.cpp
M llvm/utils/TableGen/OptParserEmitter.cpp
Log Message:
-----------
[llvm] Construct option's prefixed name at compile-time
Some Clang command-line handling code could benefit from the option's prefixed name being a `StringLiteral`. This patch changes the `llvm::opt` TableGen backend to generate and emit that into the .inc file.
Depends on D157028.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D157029
More information about the All-commits
mailing list