r373043 - [test] Use %clang_cc1 instead of %clang -cc1

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 26 22:37:06 PDT 2019


Author: maskray
Date: Thu Sep 26 22:37:06 2019
New Revision: 373043

URL: http://llvm.org/viewvc/llvm-project?rev=373043&view=rev
Log:
[test] Use %clang_cc1 instead of %clang -cc1

Modified:
    cfe/trunk/test/CodeGen/align-global-large.c
    cfe/trunk/test/CodeGenObjC/protocol-comdat.m
    cfe/trunk/test/Frontend/cc1-return-codes.c
    cfe/trunk/test/Frontend/nostdlib-for-asmpp.s
    cfe/trunk/test/Misc/diag-macro-backtrace2.c
    cfe/trunk/test/Misc/driver-verify.c
    cfe/trunk/test/Modules/builtin-import.mm
    cfe/trunk/test/Modules/umbrella-header-include-builtin.mm
    cfe/trunk/test/Preprocessor/pragma_module.c

Modified: cfe/trunk/test/CodeGen/align-global-large.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/align-global-large.c?rev=373043&r1=373042&r2=373043&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/align-global-large.c (original)
+++ cfe/trunk/test/CodeGen/align-global-large.c Thu Sep 26 22:37:06 2019
@@ -1,5 +1,5 @@
 // PR13606 - Clang crashes with large alignment attribute
-// RUN: %clang -cc1 -S -emit-llvm %s -o - -triple i686-pc-gnu | FileCheck %s
+// RUN: %clang_cc1 -S -emit-llvm %s -o - -triple i686-pc-gnu | FileCheck %s
 
 // CHECK: x
 // CHECK: align

Modified: cfe/trunk/test/CodeGenObjC/protocol-comdat.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/protocol-comdat.m?rev=373043&r1=373042&r2=373043&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/protocol-comdat.m (original)
+++ cfe/trunk/test/CodeGenObjC/protocol-comdat.m Thu Sep 26 22:37:06 2019
@@ -1,4 +1,4 @@
-// RUN: %clang -cc1 -triple thumbv7--windows-itanium -fobjc-runtime=ios -emit-llvm -o - %s -Wno-objc-root-class | FileCheck %s
+// RUN: %clang_cc1 -triple thumbv7--windows-itanium -fobjc-runtime=ios -emit-llvm -o - %s -Wno-objc-root-class | FileCheck %s
 
 @protocol P
 - (void) method;

Modified: cfe/trunk/test/Frontend/cc1-return-codes.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/cc1-return-codes.c?rev=373043&r1=373042&r2=373043&view=diff
==============================================================================
--- cfe/trunk/test/Frontend/cc1-return-codes.c (original)
+++ cfe/trunk/test/Frontend/cc1-return-codes.c Thu Sep 26 22:37:06 2019
@@ -1,4 +1,4 @@
 // cc1 immediate arguments (arguments which displays information and exits)
 // shall exit indicating success (return code 0)
-// RUN: %clang -cc1 -help
-// RUN: %clang -cc1 -version
+// RUN: %clang_cc1 -help
+// RUN: %clang_cc1 -version

Modified: cfe/trunk/test/Frontend/nostdlib-for-asmpp.s
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/nostdlib-for-asmpp.s?rev=373043&r1=373042&r2=373043&view=diff
==============================================================================
--- cfe/trunk/test/Frontend/nostdlib-for-asmpp.s (original)
+++ cfe/trunk/test/Frontend/nostdlib-for-asmpp.s Thu Sep 26 22:37:06 2019
@@ -1,4 +1,4 @@
-// RUN: %clang -cc1 -x assembler-with-cpp -triple arm64-apple-ios6.0.0 -isysroot %S/doesnotexist -std=c++11 -v %s 2>&1 | FileCheck %s
+// RUN: %clang_cc1 -x assembler-with-cpp -triple arm64-apple-ios6.0.0 -isysroot %S/doesnotexist -std=c++11 -v %s 2>&1 | FileCheck %s
 // The C++ stdlib path should not be included for an assembly source.
 
 // CHECK-NOT: usr/include/c++/

Modified: cfe/trunk/test/Misc/diag-macro-backtrace2.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/diag-macro-backtrace2.c?rev=373043&r1=373042&r2=373043&view=diff
==============================================================================
--- cfe/trunk/test/Misc/diag-macro-backtrace2.c (original)
+++ cfe/trunk/test/Misc/diag-macro-backtrace2.c Thu Sep 26 22:37:06 2019
@@ -1,4 +1,4 @@
-// RUN: not %clang -cc1 -fsyntax-only %s 2>&1 | FileCheck %s
+// RUN: not %clang_cc1 -fsyntax-only %s 2>&1 | FileCheck %s
 
 #define a b
 #define b c

Modified: cfe/trunk/test/Misc/driver-verify.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/driver-verify.c?rev=373043&r1=373042&r2=373043&view=diff
==============================================================================
--- cfe/trunk/test/Misc/driver-verify.c (original)
+++ cfe/trunk/test/Misc/driver-verify.c Thu Sep 26 22:37:06 2019
@@ -1,5 +1,5 @@
 // RUN: not %clang -verify %s 2>&1 | FileCheck %s
-// RUN: %clang -cc1 -verify %s
+// RUN: %clang_cc1 -verify %s
 // expected-no-diagnostics
 
 // Test that -verify is strictly rejected as unknown by the driver.

Modified: cfe/trunk/test/Modules/builtin-import.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/builtin-import.mm?rev=373043&r1=373042&r2=373043&view=diff
==============================================================================
--- cfe/trunk/test/Modules/builtin-import.mm (original)
+++ cfe/trunk/test/Modules/builtin-import.mm Thu Sep 26 22:37:06 2019
@@ -1,5 +1,5 @@
 // RUN: rm -rf %t
-// RUN: %clang -cc1 -fsyntax-only -nobuiltininc -nostdinc++ -isysroot %S/Inputs/libc-libcxx/sysroot -isystem %S/Inputs/libc-libcxx/sysroot/usr/include/c++/v1 -isystem %S/Inputs/libc-libcxx/sysroot/usr/include -std=c++11 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -x objective-c++ -fmodules-local-submodule-visibility %s
+// RUN: %clang_cc1 -fsyntax-only -nobuiltininc -nostdinc++ -isysroot %S/Inputs/libc-libcxx/sysroot -isystem %S/Inputs/libc-libcxx/sysroot/usr/include/c++/v1 -isystem %S/Inputs/libc-libcxx/sysroot/usr/include -std=c++11 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -x objective-c++ -fmodules-local-submodule-visibility %s
 
 #include <stdio.h>
 #include <stddef.h>

Modified: cfe/trunk/test/Modules/umbrella-header-include-builtin.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/umbrella-header-include-builtin.mm?rev=373043&r1=373042&r2=373043&view=diff
==============================================================================
--- cfe/trunk/test/Modules/umbrella-header-include-builtin.mm (original)
+++ cfe/trunk/test/Modules/umbrella-header-include-builtin.mm Thu Sep 26 22:37:06 2019
@@ -1,5 +1,5 @@
 // RUN: rm -rf %t
-// RUN: %clang -cc1 -fsyntax-only -nobuiltininc -nostdinc++ -isysroot %S/Inputs/libc-libcxx/sysroot -isystem %S/Inputs/libc-libcxx/sysroot/usr/include/c++/v1 -isystem %S/Inputs/libc-libcxx/sysroot/usr/include -F%S/Inputs/libc-libcxx/sysroot/Frameworks -std=c++11 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -x objective-c++ %s
+// RUN: %clang_cc1 -fsyntax-only -nobuiltininc -nostdinc++ -isysroot %S/Inputs/libc-libcxx/sysroot -isystem %S/Inputs/libc-libcxx/sysroot/usr/include/c++/v1 -isystem %S/Inputs/libc-libcxx/sysroot/usr/include -F%S/Inputs/libc-libcxx/sysroot/Frameworks -std=c++11 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -x objective-c++ %s
 
 #include <A/A.h>
 

Modified: cfe/trunk/test/Preprocessor/pragma_module.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/pragma_module.c?rev=373043&r1=373042&r2=373043&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/pragma_module.c (original)
+++ cfe/trunk/test/Preprocessor/pragma_module.c Thu Sep 26 22:37:06 2019
@@ -1,9 +1,9 @@
 // RUN: rm -rf %t
 // RUN: mkdir %t
 // RUN: echo 'module foo { module a {} module b {} } module bar {} module if {}' > %t/module.map
-// RUN: %clang -cc1 -fmodules -fmodule-name=if -x c %t/module.map -emit-module -o %t/if.pcm
-// RUN: %clang -cc1 -E -fmodules %s -fmodule-file=%t/if.pcm -verify -fmodule-name=foo -fmodule-map-file=%t/module.map
-// RUN: %clang -cc1 -E -fmodules %s -fmodule-file=%t/if.pcm -verify -fmodule-name=foo -fmodule-map-file=%t/module.map -fmodules-local-submodule-visibility -DLOCAL_VIS
+// RUN: %clang_cc1 -fmodules -fmodule-name=if -x c %t/module.map -emit-module -o %t/if.pcm
+// RUN: %clang_cc1 -E -fmodules %s -fmodule-file=%t/if.pcm -verify -fmodule-name=foo -fmodule-map-file=%t/module.map
+// RUN: %clang_cc1 -E -fmodules %s -fmodule-file=%t/if.pcm -verify -fmodule-name=foo -fmodule-map-file=%t/module.map -fmodules-local-submodule-visibility -DLOCAL_VIS
 
 // Just checking the syntax here; the semantics are tested elsewhere.
 #pragma clang module import // expected-error {{expected module name}}




More information about the cfe-commits mailing list