diff options
author | Paul Robinson <paul.robinson@sony.com> | 2016-12-09 01:20:40 +0000 |
---|---|---|
committer | Paul Robinson <paul.robinson@sony.com> | 2016-12-09 01:20:40 +0000 |
commit | 1522ffbc2aba86928976a592066795637b749126 (patch) | |
tree | 7261fb42d9dcabb7a50159d7bfde1d3ea11d2847 /test/Rewriter/rewrite-cast-ivar-modern-access.mm | |
parent | 6a643fea5cc7bd7f3bffec675dd62c8e31f4c777 (diff) | |
download | clang-1522ffbc2aba86928976a592066795637b749126.tar.gz |
Specify -std=gnu++98 on some Rewriter tests. NFC.
Rewriter tests rewrite Objective-C++ to C++, and then compile the
result. The rewritten result sometimes doesn't work with C++11. As
we want to allow Clang's default dialect to become C++11, we need to
make sure the tests will still pass.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Rewriter/rewrite-cast-ivar-modern-access.mm')
-rw-r--r-- | test/Rewriter/rewrite-cast-ivar-modern-access.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Rewriter/rewrite-cast-ivar-modern-access.mm b/test/Rewriter/rewrite-cast-ivar-modern-access.mm index 4a6cb3279f..4cea4f6eb1 100644 --- a/test/Rewriter/rewrite-cast-ivar-modern-access.mm +++ b/test/Rewriter/rewrite-cast-ivar-modern-access.mm @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp -// RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp @interface F { int supervar; |