[PATCH] D79796: Sketch support for generating CC1 command line from CompilerInvocation
Daniel Grumberg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 16 03:17:21 PDT 2020
dang updated this revision to Diff 271006.
dang marked 5 inline comments as done and an inline comment as not done.
dang added a comment.
Implement suffix merging to avoid allocations for option spelling when generating the command line. This update also removes unnecessary allocation for `std::string` based options and for enum based options.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79796/new/
https://reviews.llvm.org/D79796
Files:
clang/include/clang/Driver/CC1Options.td
clang/include/clang/Frontend/CompilerInvocation.h
clang/lib/Frontend/CompilerInvocation.cpp
clang/unittests/Frontend/CMakeLists.txt
clang/unittests/Frontend/CompilerInvocationTest.cpp
llvm/include/llvm/Option/OptParser.td
llvm/utils/TableGen/OptParserEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79796.271006.patch
Type: text/x-patch
Size: 29438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200616/3302a0e8/attachment.bin>
More information about the llvm-commits
mailing list