[cfe-commits] r106840 - in /cfe/trunk/test: Analysis/rdar-7168531.m CXX/class.access/class.access.dcl/p1.cpp CodeGen/blocks-aligned-byref-variable.c CodeGen/pragma-pack-1.c Lexer/hexfloat.cpp
Benjamin Kramer
benny.kra at googlemail.com
Fri Jun 25 05:48:07 PDT 2010
Author: d0k
Date: Fri Jun 25 07:48:07 2010
New Revision: 106840
URL: http://llvm.org/viewvc/llvm-project?rev=106840&view=rev
Log:
A bug I've introduced in STDIN handling surfaced a few broken tests, fix them.
Lexer/hexfloat.cpp is now XFAIL'd, I'd appreciate if someone could look into it.
Modified:
cfe/trunk/test/Analysis/rdar-7168531.m
cfe/trunk/test/CXX/class.access/class.access.dcl/p1.cpp
cfe/trunk/test/CodeGen/blocks-aligned-byref-variable.c
cfe/trunk/test/CodeGen/pragma-pack-1.c
cfe/trunk/test/Lexer/hexfloat.cpp
Modified: cfe/trunk/test/Analysis/rdar-7168531.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/rdar-7168531.m?rev=106840&r1=106839&r2=106840&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/rdar-7168531.m (original)
+++ cfe/trunk/test/Analysis/rdar-7168531.m Fri Jun 25 07:48:07 2010
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -analyzer-check-objc-mem -triple i386-apple-darwin10 -analyzer-store=region
-// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -analyzer-check-objc-mem -triple i386-apple-darwin10 -analyzer-store=basic
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -analyzer-check-objc-mem -triple i386-apple-darwin10 -analyzer-store=region %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -analyzer-check-objc-mem -triple i386-apple-darwin10 -analyzer-store=basic %s
// Note that the target triple is important for this test case. It specifies that we use the
// fragile Objective-C ABI.
Modified: cfe/trunk/test/CXX/class.access/class.access.dcl/p1.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/class.access/class.access.dcl/p1.cpp?rev=106840&r1=106839&r2=106840&view=diff
==============================================================================
--- cfe/trunk/test/CXX/class.access/class.access.dcl/p1.cpp (original)
+++ cfe/trunk/test/CXX/class.access/class.access.dcl/p1.cpp Fri Jun 25 07:48:07 2010
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify
+// RUN: %clang_cc1 -fsyntax-only -verify %s
// This is just the test for [namespace.udecl]p4 with 'using'
// uniformly stripped out.
Modified: cfe/trunk/test/CodeGen/blocks-aligned-byref-variable.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/blocks-aligned-byref-variable.c?rev=106840&r1=106839&r2=106840&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/blocks-aligned-byref-variable.c (original)
+++ cfe/trunk/test/CodeGen/blocks-aligned-byref-variable.c Fri Jun 25 07:48:07 2010
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -emit-llvm -o - -triple x86_64-apple-darwin10
-// RUN: %clang_cc1 -emit-llvm -o - -triple i386-apple-darwin10
+// RUN: %clang_cc1 -emit-llvm -o - -triple x86_64-apple-darwin10 -fblocks %s
+// RUN: %clang_cc1 -emit-llvm -o - -triple i386-apple-darwin10 -fblocks %s
typedef int __attribute__((aligned(32))) ai;
void f() {
Modified: cfe/trunk/test/CodeGen/pragma-pack-1.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/pragma-pack-1.c?rev=106840&r1=106839&r2=106840&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/pragma-pack-1.c (original)
+++ cfe/trunk/test/CodeGen/pragma-pack-1.c Fri Jun 25 07:48:07 2010
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -o -
+// RUN: %clang_cc1 -emit-llvm -o - %s
// PR4610
#pragma pack(4)
Modified: cfe/trunk/test/Lexer/hexfloat.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/hexfloat.cpp?rev=106840&r1=106839&r2=106840&view=diff
==============================================================================
--- cfe/trunk/test/Lexer/hexfloat.cpp (original)
+++ cfe/trunk/test/Lexer/hexfloat.cpp Fri Jun 25 07:48:07 2010
@@ -1,5 +1,6 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -pedantic
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// XFAIL: *
#ifndef __GXX_EXPERIMENTAL_CXX0X__
float f = 0x1p+1; // expected-warning {{incompatible with C++0x}}
More information about the cfe-commits
mailing list