• Home
  • Raw
  • Download

Lines Matching full:variable

23 const S3 c; // expected-note {{global variable is predetermined as shared}} expected-note 1 {{globa…
24 …onst S3 ca[5]; // expected-note {{global variable is predetermined as shared}} expected-note 1 {{g…
25 …n const int f; // expected-note {{global variable is predetermined as shared}} expected-note 1 {{g…
57 const I d = 5; // expected-note {{constant variable is predetermined as shared}} in foomain()
58 const I da[5] = { 0 }; // expected-note {{constant variable is predetermined as shared}} in foomain()
73 … target parallel private(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} in foomain()
81 #pragma omp target parallel private(a, b) // expected-error {{private variable with incomplete type… in foomain()
83 …, c, d, f) // expected-error {{a private variable with incomplete type 'S1'}} expected-error 3 {{s… in foomain()
85 #pragma omp target parallel private(argv[1]) // expected-error {{expected variable name}} in foomain()
89 #pragma omp target parallel private(ca) // expected-error {{shared variable cannot be private}} in foomain()
91 #pragma omp target parallel private(da) // expected-error {{shared variable cannot be private}} in foomain()
93 #pragma omp target parallel private(S2::S2s) // expected-error {{shared variable cannot be private}} in foomain()
97 …te(threadvar, B::x) // expected-error 2 {{threadprivate or thread local variable cannot be private… in foomain()
99 …#pragma omp target parallel shared(i), private(i) // expected-error {{shared variable cannot be pr… in foomain()
101 …#pragma omp target parallel firstprivate(i) private(i) // expected-error {{firstprivate variable c… in foomain()
115 #pragma omp target parallel private(h) // expected-error {{threadprivate or thread local variable c… in foomain()
117 …arallel private(B::x) // expected-error {{threadprivate or thread local variable cannot be private… in foomain()
144 const int d = 5; // expected-note {{constant variable is predetermined as shared}} in main()
145 const int da[5] = { 0 }; // expected-note {{constant variable is predetermined as shared}} in main()
160 … target parallel private(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} in main()
168 #pragma omp target parallel private(a, b) // expected-error {{private variable with incomplete type… in main()
170 …, c, d, f) // expected-error {{a private variable with incomplete type 'S1'}} expected-error 3 {{s… in main()
172 #pragma omp target parallel private(argv[1]) // expected-error {{expected variable name}} in main()
176 #pragma omp target parallel private(ca) // expected-error {{shared variable cannot be private}} in main()
178 #pragma omp target parallel private(da) // expected-error {{shared variable cannot be private}} in main()
180 #pragma omp target parallel private(S2::S2s) // expected-error {{shared variable cannot be private}} in main()
184 …te(threadvar, B::x) // expected-error 2 {{threadprivate or thread local variable cannot be private… in main()
186 …#pragma omp target parallel shared(i), private(i) // expected-error {{shared variable cannot be pr… in main()
188 …#pragma omp target parallel firstprivate(i) private(i) // expected-error {{firstprivate variable c… in main()
202 #pragma omp target parallel private(h) // expected-error {{threadprivate or thread local variable c… in main()
204 …arallel private(B::x) // expected-error {{threadprivate or thread local variable cannot be private… in main()