summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/expr/expr.post
diff options
context:
space:
mode:
authorAndy Gibbs <andyg1001@hotmail.co.uk>2012-10-19 12:44:48 +0000
committerAndy Gibbs <andyg1001@hotmail.co.uk>2012-10-19 12:44:48 +0000
commitc6e68daac0fa6e77a89f3ca72f266a528503dd1c (patch)
treec8d92499ba7d35b64177cfc8e4e3ccad1f699145 /clang/test/CXX/expr/expr.post
parentac51de6ec2f01fce1d9dadf59a86ffe825c42bc7 (diff)
downloadbcm5719-llvm-c6e68daac0fa6e77a89f3ca72f266a528503dd1c.tar.gz
bcm5719-llvm-c6e68daac0fa6e77a89f3ca72f266a528503dd1c.zip
Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive.
llvm-svn: 166280
Diffstat (limited to 'clang/test/CXX/expr/expr.post')
-rw-r--r--clang/test/CXX/expr/expr.post/expr.const.cast/p1-0x.cpp1
-rw-r--r--clang/test/CXX/expr/expr.post/expr.ref/p3.cpp1
-rw-r--r--clang/test/CXX/expr/expr.post/expr.static.cast/p3-0x.cpp1
-rw-r--r--clang/test/CXX/expr/expr.post/expr.static.cast/p9-0x.cpp1
-rw-r--r--clang/test/CXX/expr/expr.post/expr.type.conv/p1-0x.cpp1
5 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/CXX/expr/expr.post/expr.const.cast/p1-0x.cpp b/clang/test/CXX/expr/expr.post/expr.const.cast/p1-0x.cpp
index 6ba8d519346..be898761faf 100644
--- a/clang/test/CXX/expr/expr.post/expr.const.cast/p1-0x.cpp
+++ b/clang/test/CXX/expr/expr.post/expr.const.cast/p1-0x.cpp
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
// The result of the expression const_cast<T>(v) is of type T. If T is
// an lvalue reference to object type, the result is an lvalue; if T
diff --git a/clang/test/CXX/expr/expr.post/expr.ref/p3.cpp b/clang/test/CXX/expr/expr.post/expr.ref/p3.cpp
index 98771d34b63..db33c014eeb 100644
--- a/clang/test/CXX/expr/expr.post/expr.ref/p3.cpp
+++ b/clang/test/CXX/expr/expr.post/expr.ref/p3.cpp
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -verify -fsyntax-only %s
+// expected-no-diagnostics
template<typename T> struct Node {
int lhs;
diff --git a/clang/test/CXX/expr/expr.post/expr.static.cast/p3-0x.cpp b/clang/test/CXX/expr/expr.post/expr.static.cast/p3-0x.cpp
index 9ef15e6642b..830ccda245b 100644
--- a/clang/test/CXX/expr/expr.post/expr.static.cast/p3-0x.cpp
+++ b/clang/test/CXX/expr/expr.post/expr.static.cast/p3-0x.cpp
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
// A glvalue of type "cv1 T1" can be cast to type "rvalue reference to
// cv2 T2" if "cv2 T2" is reference-compatible with "cv1 T1" (8.5.3).
diff --git a/clang/test/CXX/expr/expr.post/expr.static.cast/p9-0x.cpp b/clang/test/CXX/expr/expr.post/expr.static.cast/p9-0x.cpp
index 731c5084442..c624c7e3f2f 100644
--- a/clang/test/CXX/expr/expr.post/expr.static.cast/p9-0x.cpp
+++ b/clang/test/CXX/expr/expr.post/expr.static.cast/p9-0x.cpp
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
enum class EC { ec1 };
diff --git a/clang/test/CXX/expr/expr.post/expr.type.conv/p1-0x.cpp b/clang/test/CXX/expr/expr.post/expr.type.conv/p1-0x.cpp
index 253744e23f5..568c61b95fb 100644
--- a/clang/test/CXX/expr/expr.post/expr.type.conv/p1-0x.cpp
+++ b/clang/test/CXX/expr/expr.post/expr.type.conv/p1-0x.cpp
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// expected-no-diagnostics
struct foo {
foo();
OpenPOWER on IntegriCloud