]> granicus.if.org Git - clang/commitdiff
Correct test inovocations to use %clang_cc1 rather than direct invocation (so that...
authorDavid Tweed <david.tweed@arm.com>
Thu, 25 Oct 2012 13:56:30 +0000 (13:56 +0000)
committerDavid Tweed <david.tweed@arm.com>
Thu, 25 Oct 2012 13:56:30 +0000 (13:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166681 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/domtest.c
test/CodeGenCXX/debug-info-pubtypes.cpp
test/CodeGenObjC/debug-info-pubtypes.m
test/CodeGenObjC/debug-info-self.m
test/Modules/import-decl.cpp
test/PCH/objc_container.m
test/PCH/objc_literals.m
test/PCH/objc_literals.mm
test/Parser/recovery.cpp
test/Preprocessor/user_defined_system_framework.c

index 0f370db5c1328b77944b068cef87719e8d89ba1f..dd72117f8c95f07257b9464bcd36f21b8aadfb5c 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: rm -f %t
-// RUN: %clang -cc1 -analyze -analyzer-checker=debug.DumpDominators %s > %t 2>&1
+// RUN: %clang_cc1 -analyze -analyzer-checker=debug.DumpDominators %s > %t 2>&1
 // RUN: FileCheck --input-file=%t %s
 
 // Test the DominatorsTree implementation with various control flows
index a7abade3929fcce8c08303bb584e262817c9ec24..612b6b500abca72023d246f73edb2cd71ac52451 100644 (file)
@@ -1,5 +1,5 @@
 // REQUIRES: x86-64-registered-target
-// RUN: %clang -cc1 -triple x86_64-apple-darwin10  -g -fno-limit-debug-info -S %s -o %t
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10  -g -fno-limit-debug-info -S %s -o %t
 // RUN: FileCheck %s < %t
 
 // FIXME: This testcase shouldn't rely on assembly emission.
index 658430d9307b13059d8e81811bd6c9e5d2a5fb66..e68bbee92e34a1ef1aa13c5a0dd34bf5fcab2e2a 100644 (file)
@@ -1,5 +1,5 @@
 // REQUIRES: x86-64-registered-target
-// RUN: %clang -cc1 -triple x86_64-apple-darwin10 -g -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -g -emit-llvm %s -o - | FileCheck %s
 
 // CHECK: !5 = metadata !{i32 {{.*}}, metadata !6, metadata !"H", metadata !6, i32 6, i64 0, i64 8, i32 0, i32 512, null, metadata !2, i32 16, i32 0} ; [ DW_TAG_structure_type ]
 
index 48ad5ce115422056da7dade8c6cb1b205ae79778..9f234353da061db540b48b9767c4d36ad76ac44b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang -cc1 -emit-llvm -g %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s
 // self and _cmd are marked as DW_AT_artificial. 
 // myarg is not marked as DW_AT_artificial.
 
index 76966934acc88cb0fdd216e5560fd2d2de3496f8..0f05f92708bc8fc85a926cc79fe747ab68be13f9 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: rm -rf %t
 // RUN: %clang -fmodule-cache-path %t -fmodules -x objective-c -I %S/Inputs -emit-ast -o %t.ast %s
-// RUN: %clang -cc1 -ast-print -x ast - < %t.ast | FileCheck %s
+// RUN: %clang_cc1 -ast-print -x ast - < %t.ast | FileCheck %s
 
 @__experimental_modules_import import_decl;
 // CHECK: struct T
index ad7a6c3138fbaedda629777dc2940b00368260d8..07371caeaf717187a4527d4bccc279d755aa57dd 100644 (file)
@@ -4,8 +4,8 @@
 // Test with pch.
 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_container.h
 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
-// RUN: %clang -cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=PRINT %s
-// RUN: %clang -cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
+// RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=PRINT %s
+// RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
 
 // expected-no-diagnostics
 
index c1220f80b5abd49f121eb91c95e4360b8569a49c..b73c3bebb8c417251bbbd6b99c06b8838f5a36c5 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: %clang -cc1 -emit-pch -o %t %s
-// RUN: %clang -cc1 -include-pch %t -verify %s
-// RUN: %clang -cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=PRINT %s
-// RUN: %clang -cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
+// RUN: %clang_cc1 -emit-pch -o %t %s
+// RUN: %clang_cc1 -include-pch %t -verify %s
+// RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=PRINT %s
+// RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
 
 // expected-no-diagnostics
 
index e41daddb8b5e67f60c1adc7820186fe11220789c..ef95294d7aa7904ed42ef9d3b0ddf12b97722620 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: %clang -cc1 -emit-pch -x objective-c++ -std=c++0x -o %t %s
-// RUN: %clang -cc1 -include-pch %t -x objective-c++ -std=c++0x  -verify %s
-// RUN: %clang -cc1 -include-pch %t -x objective-c++ -std=c++0x  -ast-print %s | FileCheck -check-prefix=PRINT %s
-// RUN: %clang -cc1 -include-pch %t -x objective-c++ -std=c++0x  -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
+// RUN: %clang_cc1 -emit-pch -x objective-c++ -std=c++0x -o %t %s
+// RUN: %clang_cc1 -include-pch %t -x objective-c++ -std=c++0x  -verify %s
+// RUN: %clang_cc1 -include-pch %t -x objective-c++ -std=c++0x  -ast-print %s | FileCheck -check-prefix=PRINT %s
+// RUN: %clang_cc1 -include-pch %t -x objective-c++ -std=c++0x  -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
 
 // expected-no-diagnostics
 
index 784002d536776b859154ec45276caf5bc1caf5fe..732b9aee1632c5dedb3a81b5ed27b1649535f3dc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang -cc1 -verify -std=c++11 %s
+// RUN: %clang_cc1 -verify -std=c++11 %s
 
 8gi///===--- recovery.cpp ---===// // expected-error {{unqualified-id}}
 namespace Std { // expected-note {{here}}
index 23f24f96fda42e0e76d4393e5513af86347643d5..2ab2a297ecbce99ca48f4e84ee21cda23ba892ae 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang -cc1 -fsyntax-only -F %S/Inputs -Wsign-conversion -verify %s
+// RUN: %clang_cc1 -fsyntax-only -F %S/Inputs -Wsign-conversion -verify %s
 // expected-no-diagnostics
 
 // Check that TestFramework is treated as a system header.