[all-commits] [llvm/llvm-project] 29125d: Start adding support for generating CC1 command li...
Daniel Grumberg via All-commits
all-commits at lists.llvm.org
Wed Jun 24 10:05:32 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 29125ddf1323951901184d2859274afdecac0327
https://github.com/llvm/llvm-project/commit/29125ddf1323951901184d2859274afdecac0327
Author: Daniel Grumberg <dany.grumberg at gmail.com>
Date: 2020-06-24 (Wed, 24 Jun 2020)
Changed paths:
M clang/include/clang/Driver/CC1Options.td
M clang/include/clang/Frontend/CompilerInvocation.h
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/unittests/Frontend/CMakeLists.txt
A clang/unittests/Frontend/CompilerInvocationTest.cpp
M llvm/include/llvm/Option/OptParser.td
M llvm/utils/TableGen/OptParserEmitter.cpp
Log Message:
-----------
Start adding support for generating CC1 command lines from CompilerInvocation
This change includes the following:
- Add additional information in the relevant table-gen files to encode
the necessary information to automatically parse the argument into a
CompilerInvocation instance and to generate the appropriate command
line argument from a CompilerInvocation instance.
- Extend OptParserEmitter to emit the necessary macro tables as well as
constant tables to support parsing and generating command line
arguments for options that provide the necessary information.
- Port some options to use this new system for parsing and generating
command line arguments.
Differential Revision: https://reviews.llvm.org/D79796
More information about the All-commits
mailing list