r363742 - [test] NFC, udpate clang-scan-deps tests to not use -c to avoid driver issues when no integrated assembler is present
Alex Lorenz via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 18 14:36:30 PDT 2019
Author: arphaman
Date: Tue Jun 18 14:36:30 2019
New Revision: 363742
URL: http://llvm.org/viewvc/llvm-project?rev=363742&view=rev
Log:
[test] NFC, udpate clang-scan-deps tests to not use -c to avoid driver issues when no integrated assembler is present
Caught by Douglas Yung.
Modified:
cfe/trunk/test/ClangScanDeps/Inputs/regular_cdb.json
Modified: cfe/trunk/test/ClangScanDeps/Inputs/regular_cdb.json
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/ClangScanDeps/Inputs/regular_cdb.json?rev=363742&r1=363741&r2=363742&view=diff
==============================================================================
--- cfe/trunk/test/ClangScanDeps/Inputs/regular_cdb.json (original)
+++ cfe/trunk/test/ClangScanDeps/Inputs/regular_cdb.json Tue Jun 18 14:36:30 2019
@@ -1,12 +1,12 @@
[
{
"directory": "DIR",
- "command": "clang -c DIR/regular_cdb.cpp -IInputs -MD -MF DIR/regular_cdb.d",
+ "command": "clang -E -fsyntax-only DIR/regular_cdb.cpp -IInputs -MD -MF DIR/regular_cdb.d",
"file": "DIR/regular_cdb.cpp"
},
{
"directory": "DIR",
- "command": "clang -c DIR/regular_cdb.cpp -IInputs -D INCLUDE_HEADER2 -MD -MF DIR/regular_cdb2.d",
+ "command": "clang -E -fsyntax-only DIR/regular_cdb.cpp -IInputs -D INCLUDE_HEADER2 -MD -MF DIR/regular_cdb2.d",
"file": "DIR/regular_cdb.cpp"
}
]
More information about the cfe-commits
mailing list