1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Remove explicit uses of -emit-llvm, the test infrastructure adds it

automatically.  Use -S with llvm-gcc rather than -c, so tests can
work when llvm-gcc is really dragonegg (which can output IR with -S
but not -c).  Yes, dragonegg supports objective-c++ (poorly though).

llvm-svn: 120164
This commit is contained in:
Duncan Sands 2010-11-25 21:48:20 +00:00
parent 80532aef88
commit 6f39fefae0
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc -w -x objective-c++ -c %s -o /dev/null // RUN: %llvmgcc -w -x objective-c++ -S %s -o /dev/null
@class NSImage; @class NSImage;
void bork() { void bork() {

View File

@ -1,4 +1,4 @@
// RUN: not %llvmgcc %s -S -emit-llvm -o - |& FileCheck %s // RUN: not %llvmgcc %s -S -o - |& FileCheck %s
// This tests for a specific diagnostic in LLVM-GCC. // This tests for a specific diagnostic in LLVM-GCC.
// Clang compiles this correctly with no diagnostic, // Clang compiles this correctly with no diagnostic,
// ergo this test will fail with a Clang-based front-end. // ergo this test will fail with a Clang-based front-end.

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc %s -S -emit-llvm // RUN: %llvmgcc %s -S
struct TRunSoon { struct TRunSoon {
template <class P1> static void Post() {} template <class P1> static void Post() {}
}; };

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc %s -S -emit-llvm // RUN: %llvmgcc %s -S
struct TFENode { struct TFENode {
TFENode(const TFENode& inNode); TFENode(const TFENode& inNode);
}; };