llvm-project/llvm/tools/llvm-rc
Martin Storsjö 64bc44f5dd [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
2021-04-21 11:50:10 +03:00
..
CMakeLists.txt
Opts.td [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
ResourceFileWriter.cpp [llvm-rc] Fix handling of the /X option to match its documentation and rc.exe 2021-04-20 09:22:43 +03:00
ResourceFileWriter.h [llvm-rc] Fix handling of the /X option to match its documentation and rc.exe 2021-04-20 09:22:43 +03:00
ResourceScriptCppFilter.cpp
ResourceScriptCppFilter.h
ResourceScriptParser.cpp [llvm-rc] Allow omitting components from VERSIONINFO versions 2020-09-16 09:34:26 +03:00
ResourceScriptParser.h
ResourceScriptStmt.cpp [llvm-rc] Allow string table values split into multiple string literals 2020-08-05 08:59:32 +03:00
ResourceScriptStmt.h [llvm-rc] Allow string table values split into multiple string literals 2020-08-05 08:59:32 +03:00
ResourceScriptToken.cpp std::isspace -> llvm::isSpace (where locale should be ignored) 2020-05-02 15:36:04 +02:00
ResourceScriptToken.h
ResourceScriptTokenList.def
ResourceVisitor.h
llvm-rc.cpp [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00