[cfe-commits] r118246 - /cfe/trunk/test/CodeGenCXX/nullptr.cpp
Anders Carlsson
andersca at mac.com
Thu Nov 4 05:18:32 PDT 2010
Author: andersca
Date: Thu Nov 4 07:18:32 2010
New Revision: 118246
URL: http://llvm.org/viewvc/llvm-project?rev=118246&view=rev
Log:
Pass a -I flag when compiling nullptr.cpp so the typeinfo header can be found. This should fix the errors seen on the bot.
Modified:
cfe/trunk/test/CodeGenCXX/nullptr.cpp
Modified: cfe/trunk/test/CodeGenCXX/nullptr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/nullptr.cpp?rev=118246&r1=118245&r2=118246&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/nullptr.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/nullptr.cpp Thu Nov 4 07:18:32 2010
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -std=c++0x -triple x86_64-apple-darwin10 -I%S -emit-llvm -o - %s | FileCheck %s
#include <typeinfo>
More information about the cfe-commits
mailing list