summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/threadprivate_messages.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-06-06 03:41:14 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-06-06 03:41:14 +0000
commit15e4ee785285033c675a522fc96e7f6cb48782c9 (patch)
tree3ccb8f3317ad071ce5ae459b7a9fbd0332a6344a /clang/test/OpenMP/threadprivate_messages.cpp
parent69fdc9ff89813e679b578e3953131515ddfcac32 (diff)
downloadbcm5719-llvm-15e4ee785285033c675a522fc96e7f6cb48782c9.tar.gz
bcm5719-llvm-15e4ee785285033c675a522fc96e7f6cb48782c9.zip
Rnamed Class to TestClass
llvm-svn: 210305
Diffstat (limited to 'clang/test/OpenMP/threadprivate_messages.cpp')
-rw-r--r--clang/test/OpenMP/threadprivate_messages.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/OpenMP/threadprivate_messages.cpp b/clang/test/OpenMP/threadprivate_messages.cpp
index c922f190ad0..491f30ad041 100644
--- a/clang/test/OpenMP/threadprivate_messages.cpp
+++ b/clang/test/OpenMP/threadprivate_messages.cpp
@@ -55,17 +55,17 @@ extern IncompleteSt e;
int &f = a; // expected-note {{'f' defined here}}
#pragma omp threadprivate (f) // expected-error {{arguments of '#pragma omp threadprivate' cannot be of reference type 'int &'}}
-class Class {
+class TestClass {
private:
int a; // expected-note {{declared here}}
static int b; // expected-note {{'b' declared here}}
- Class() : a(0){}
+ TestClass() : a(0){}
public:
- Class (int aaa) : a(aaa) {}
+ TestClass (int aaa) : a(aaa) {}
#pragma omp threadprivate (b, a) // expected-error {{'a' is not a global variable, static local variable or static data member}}
} g(10);
#pragma omp threadprivate (b) // expected-error {{use of undeclared identifier 'b'}}
-#pragma omp threadprivate (Class::b) // expected-error {{'#pragma omp threadprivate' must appear in the scope of the 'Class::b' variable declaration}}
+#pragma omp threadprivate (TestClass::b) // expected-error {{'#pragma omp threadprivate' must appear in the scope of the 'TestClass::b' variable declaration}}
#pragma omp threadprivate (g)
namespace ns {
@@ -112,7 +112,7 @@ int main(int argc, char **argv) { // expected-note {{'argc' defined here}}
static double d1;
static double d2;
static double d3; // expected-note {{'d3' defined here}}
- static Class LocalClass(y); // expected-error {{variable with local storage in initial value of threadprivate variable}}
+ static TestClass LocalClass(y); // expected-error {{variable with local storage in initial value of threadprivate variable}}
#pragma omp threadprivate(LocalClass)
d.a = a;
OpenPOWER on IntegriCloud