r220586 - test: add -std=c++11
Saleem Abdulrasool
compnerd at compnerd.org
Fri Oct 24 12:54:29 PDT 2014
Author: compnerd
Date: Fri Oct 24 14:54:29 2014
New Revision: 220586
URL: http://llvm.org/viewvc/llvm-project?rev=220586&view=rev
Log:
test: add -std=c++11
This test uses C++11 features (r-value references) in ObjC++. Add a -std=c++11
to silence a warning. NFC.
Modified:
cfe/trunk/test/CodeGenObjCXX/arc-references.mm
Modified: cfe/trunk/test/CodeGenObjCXX/arc-references.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjCXX/arc-references.mm?rev=220586&r1=220585&r2=220586&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjCXX/arc-references.mm (original)
+++ cfe/trunk/test/CodeGenObjCXX/arc-references.mm Fri Oct 24 14:54:29 2014
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-runtime-has-weak -fblocks -fobjc-arc -O2 -disable-llvm-optzns -o - %s | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-runtime-has-weak -fblocks -fobjc-arc -O2 -disable-llvm-optzns -o - %s | FileCheck %s
@interface A
@end
More information about the cfe-commits
mailing list