[clang] edcd06b - [test/ClangScanDeps] Add a target triple for `macro-expansions.cpp`

Argyrios Kyrtzidis via cfe-commits cfe-commits at lists.llvm.org
Thu May 26 17:21:41 PDT 2022


Author: Argyrios Kyrtzidis
Date: 2022-05-26T17:18:32-07:00
New Revision: edcd06ba8b4123af83274845316b037b3864f8cb

URL: https://github.com/llvm/llvm-project/commit/edcd06ba8b4123af83274845316b037b3864f8cb
DIFF: https://github.com/llvm/llvm-project/commit/edcd06ba8b4123af83274845316b037b3864f8cb.diff

LOG: [test/ClangScanDeps] Add a target triple for `macro-expansions.cpp`

This should fix the `clang-ppc64-aix` builder.

Added: 
    

Modified: 
    clang/test/ClangScanDeps/macro-expansions.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/ClangScanDeps/macro-expansions.cpp b/clang/test/ClangScanDeps/macro-expansions.cpp
index 78415d6716c8..c8c21f87e600 100644
--- a/clang/test/ClangScanDeps/macro-expansions.cpp
+++ b/clang/test/ClangScanDeps/macro-expansions.cpp
@@ -15,7 +15,7 @@
 //--- cdb.json.template
 [{
   "directory" : "DIR",
-  "command" : "clang -c DIR/test.cpp -o DIR/test.o",
+  "command" : "clang -target x86_64-apple-macosx10.7 -c DIR/test.cpp -o DIR/test.o",
   "file" : "DIR/test.o"
 }]
 


        


More information about the cfe-commits mailing list