aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-04-14 16:24:30 +0300
committerMartin Storsjö <martin@martin.st>2021-04-21 11:50:10 +0300
commit64bc44f5ddfb6da4b6a8b51ea9a03f8772b3ae95 (patch)
treeeb60984d8a593b3784e9c5a83f63533888de2d09 /flang/lib/Frontend/CompilerInvocation.cpp
parentee34ca34c6675531c0d86709ebf99beef2ee7db1 (diff)
downloadllvm-64bc44f5ddfb6da4b6a8b51ea9a03f8772b3ae95.zip
llvm-64bc44f5ddfb6da4b6a8b51ea9a03f8772b3ae95.tar.gz
llvm-64bc44f5ddfb6da4b6a8b51ea9a03f8772b3ae95.tar.bz2
[llvm-rc] Run clang to preprocess input files
Allow opting out from preprocessing with a command line argument. Update tests to pass -no-preprocess to make it not try to use clang (which isn't a build level dependency of llvm-rc), but add a test that does preprocessing under clang/test/Preprocessor. Update a few options to allow them both joined (as -DFOO) and separate (-D BR), as rc.exe allows both forms of them. With the verbose flag set, this prints the preprocessing command used (which differs from what rc.exe does). Tests under llvm/test/tools/llvm-rc only test constructing the preprocessor commands, while tests under clang/test/Preprocessor test actually running the preprocessor. Differential Revision: https://reviews.llvm.org/D100755
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions