/external/clang/test/OpenMP/ |
D | parallel_for_simd_misc_messages.c | 3 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel for simd'}} 4 #pragma omp parallel for simd 6 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel for simd'}} 7 #pragma omp parallel for simd foo 11 #pragma omp parallel for simd in test_no_clause() 15 // expected-error@+2 {{statement after '#pragma omp parallel for simd' must be a for loop}} in test_no_clause() 16 #pragma omp parallel for simd in test_no_clause() 27 #pragma omp parallel in test_branch_protected_scope() 28 #pragma omp parallel for simd in test_branch_protected_scope() 50 #pragma omp parallel in test_invalid_clause() [all …]
|
D | parallel_if_messages.cpp | 14 #pragma omp parallel if // expected-error {{expected '(' after 'if'}} in tmain() 15 …#pragma omp parallel if ( // expected-error {{expected expression}} expected-error {{expected ')'}… in tmain() 16 #pragma omp parallel if () // expected-error {{expected expression}} in tmain() 17 …#pragma omp parallel if (argc // expected-error {{expected ')'}} expected-note {{to match this '('… in tmain() 18 …#pragma omp parallel if (argc)) // expected-warning {{extra tokens at the end of '#pragma omp para… in tmain() 19 #pragma omp parallel if (argc > 0 ? argv[1] : argv[2]) in tmain() 20 …#pragma omp parallel if (foobool(argc)), if (true) // expected-error {{directive '#pragma omp para… in tmain() 21 #pragma omp parallel if (S) // expected-error {{'S' does not refer to a value}} in tmain() 22 …#pragma omp parallel if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match th… in tmain() 23 …#pragma omp parallel if (argc argc) // expected-error {{expected ')'}} expected-note {{to match th… in tmain() [all …]
|
D | parallel_sections_if_messages.cpp | 14 #pragma omp parallel sections if // expected-error {{expected '(' after 'if'}} in tmain() 18 …#pragma omp parallel sections if ( // expected-error {{expected expression}} expected-error {{expe… in tmain() 22 #pragma omp parallel sections if () // expected-error {{expected expression}} in tmain() 26 …#pragma omp parallel sections if (argc // expected-error {{expected ')'}} expected-note {{to match… in tmain() 30 …#pragma omp parallel sections if (argc)) // expected-warning {{extra tokens at the end of '#pragma… in tmain() 34 #pragma omp parallel sections if (argc > 0 ? argv[1] : argv[2]) in tmain() 38 …#pragma omp parallel sections if (foobool(argc)), if (true) // expected-error {{directive '#pragma… in tmain() 42 #pragma omp parallel sections if (S) // expected-error {{'S' does not refer to a value}} in tmain() 46 …#pragma omp parallel sections if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to… in tmain() 50 …#pragma omp parallel sections if (argc argc) // expected-error {{expected ')'}} expected-note {{to… in tmain() [all …]
|
D | parallel_for_simd_if_messages.cpp | 15 #pragma omp parallel for simd if // expected-error {{expected '(' after 'if'}} in tmain() 17 …#pragma omp parallel for simd if ( // expected-error {{expected expression}} expected-error {{expe… in tmain() 19 #pragma omp parallel for simd if () // expected-error {{expected expression}} in tmain() 21 …#pragma omp parallel for simd if (argc // expected-error {{expected ')'}} expected-note {{to match… in tmain() 23 …#pragma omp parallel for simd if (argc)) // expected-warning {{extra tokens at the end of '#pragma… in tmain() 25 #pragma omp parallel for simd if (argc > 0 ? argv[1] : argv[2]) in tmain() 27 …#pragma omp parallel for simd if (foobool(argc)), if (true) // expected-error {{directive '#pragma… in tmain() 29 #pragma omp parallel for simd if (S) // expected-error {{'S' does not refer to a value}} in tmain() 31 …#pragma omp parallel for simd if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to… in tmain() 33 …#pragma omp parallel for simd if (argc argc) // expected-error {{expected ')'}} expected-note {{to… in tmain() [all …]
|
D | parallel_for_if_messages.cpp | 15 #pragma omp parallel for if // expected-error {{expected '(' after 'if'}} in tmain() 17 …#pragma omp parallel for if ( // expected-error {{expected expression}} expected-error {{expected … in tmain() 19 #pragma omp parallel for if () // expected-error {{expected expression}} in tmain() 21 …#pragma omp parallel for if (argc // expected-error {{expected ')'}} expected-note {{to match this… in tmain() 23 …#pragma omp parallel for if (argc)) // expected-warning {{extra tokens at the end of '#pragma omp … in tmain() 25 #pragma omp parallel for if (argc > 0 ? argv[1] : argv[2]) in tmain() 27 …#pragma omp parallel for if (foobool(argc)), if (true) // expected-error {{directive '#pragma omp … in tmain() 29 #pragma omp parallel for if (S) // expected-error {{'S' does not refer to a value}} in tmain() 31 …#pragma omp parallel for if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to matc… in tmain() 33 …#pragma omp parallel for if (argc argc) // expected-error {{expected ')'}} expected-note {{to matc… in tmain() [all …]
|
D | parallel_sections_firstprivate_messages.cpp | 69 #pragma omp parallel sections firstprivate // expected-error {{expected '(' after 'firstprivate'}} in foomain() 73 #pragma omp parallel sections firstprivate( // expected-error {{expected expression}} expected-erro… in foomain() 77 #pragma omp parallel sections firstprivate() // expected-error {{expected expression}} in foomain() 81 #pragma omp parallel sections firstprivate(argc // expected-error {{expected ')'}} expected-note {{… in foomain() 85 #pragma omp parallel sections firstprivate(argc, // expected-error {{expected expression}} expected… in foomain() 89 #pragma omp parallel sections firstprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expect… in foomain() 93 #pragma omp parallel sections firstprivate(argc) in foomain() 97 #pragma omp parallel sections firstprivate(S1) // expected-error {{'S1' does not refer to a value}} in foomain() 101 #pragma omp parallel sections firstprivate(a, b) // expected-error {{firstprivate variable with inc… in foomain() 105 #pragma omp parallel sections firstprivate(argv[1]) // expected-error {{expected variable name}} in foomain() [all …]
|
D | parallel_for_misc_messages.c | 3 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel for'}} 4 #pragma omp parallel for 6 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel for'}} 7 #pragma omp parallel for foo 11 #pragma omp parallel for in test_no_clause() 15 // expected-error@+2 {{statement after '#pragma omp parallel for' must be a for loop}} in test_no_clause() 16 #pragma omp parallel for in test_no_clause() 27 #pragma omp parallel for in test_branch_protected_scope() 49 // expected-warning@+1 {{extra tokens at the end of '#pragma omp parallel for' are ignored}} in test_invalid_clause() 50 #pragma omp parallel for foo bar in test_invalid_clause() [all …]
|
D | parallel_for_firstprivate_messages.cpp | 69 #pragma omp parallel for firstprivate // expected-error {{expected '(' after 'firstprivate'}} in foomain() 72 #pragma omp parallel for firstprivate( // expected-error {{expected expression}} expected-error {{e… in foomain() 75 #pragma omp parallel for firstprivate() // expected-error {{expected expression}} in foomain() 78 #pragma omp parallel for firstprivate(argc // expected-error {{expected ')'}} expected-note {{to ma… in foomain() 81 #pragma omp parallel for firstprivate(argc, // expected-error {{expected expression}} expected-erro… in foomain() 84 #pragma omp parallel for firstprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected va… in foomain() 87 #pragma omp parallel for firstprivate(argc) in foomain() 90 #pragma omp parallel for firstprivate(S1) // expected-error {{'S1' does not refer to a value}} in foomain() 93 #pragma omp parallel for firstprivate(a, b) // expected-error {{firstprivate variable with incomple… in foomain() 96 #pragma omp parallel for firstprivate(argv[1]) // expected-error {{expected variable name}} in foomain() [all …]
|
D | parallel_sections_misc_messages.c | 5 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel sections'}} 6 #pragma omp parallel sections 8 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel sections'}} 9 #pragma omp parallel sections foo 13 #pragma omp parallel sections in test_no_clause() 18 // expected-error@+2 {{the statement for '#pragma omp parallel sections' must be a compound stateme… in test_no_clause() 19 #pragma omp parallel sections in test_no_clause() 22 #pragma omp parallel sections in test_no_clause() 25 …foo(); // expected-error {{statement in 'omp parallel sections' directive must be enclosed into a … in test_no_clause() 37 #pragma omp parallel sections in test_branch_protected_scope() [all …]
|
D | parallel_sections_lastprivate_messages.cpp | 70 #pragma omp parallel sections lastprivate // expected-error {{expected '(' after 'lastprivate'}} in foomain() 74 #pragma omp parallel sections lastprivate( // expected-error {{expected expression}} expected-error… in foomain() 78 #pragma omp parallel sections lastprivate() // expected-error {{expected expression}} in foomain() 82 #pragma omp parallel sections lastprivate(argc // expected-error {{expected ')'}} expected-note {{t… in foomain() 86 #pragma omp parallel sections lastprivate(argc, // expected-error {{expected expression}} expected-… in foomain() 90 #pragma omp parallel sections lastprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expecte… in foomain() 94 #pragma omp parallel sections lastprivate(argc) in foomain() 98 #pragma omp parallel sections lastprivate(S1) // expected-error {{'S1' does not refer to a value}} in foomain() 102 #pragma omp parallel sections lastprivate(a, b) // expected-error {{lastprivate variable with incom… in foomain() 106 #pragma omp parallel sections lastprivate(argv[1]) // expected-error {{expected variable name}} in foomain() [all …]
|
D | parallel_reduction_messages.cpp | 84 #pragma omp parallel reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 86 …a omp parallel reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning {… in tmain() 88 #pragma omp parallel reduction( // expected-error {{expected unqualified-id}} expected-warning {{mi… in tmain() 90 #pragma omp parallel reduction(- // expected-warning {{missing ':' after reduction identifier - ign… in tmain() 92 #pragma omp parallel reduction() // expected-error {{expected unqualified-id}} expected-warning {{m… in tmain() 94 #pragma omp parallel reduction(*) // expected-warning {{missing ':' after reduction identifier - ig… in tmain() 96 #pragma omp parallel reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{… in tmain() 98 #pragma omp parallel reduction(& : argc // expected-error {{expected ')'}} expected-note {{to match… in tmain() 100 #pragma omp parallel reduction(| : argc, // expected-error {{expected expression}} expected-error {… in tmain() 102 #pragma omp parallel reduction(|| : argc ? i : argc) // expected-error 2 {{expected variable name, … in tmain() [all …]
|
D | nesting_of_regions.cpp | 8 // PARALLEL DIRECTIVE in foo() 9 #pragma omp parallel in foo() 13 #pragma omp parallel in foo() 17 #pragma omp parallel in foo() 21 #pragma omp parallel in foo() 26 #pragma omp parallel in foo() 27 …rror {{'omp section' directive must be closely nested to a sections region, not a parallel region}} in foo() 31 #pragma omp parallel in foo() 35 #pragma omp parallel in foo() 40 #pragma omp parallel in foo() [all …]
|
D | parallel_sections_private_messages.cpp | 51 #pragma omp parallel sections private // expected-error {{expected '(' after 'private'}} in foomain() 55 #pragma omp parallel sections private( // expected-error {{expected expression}} expected-error {{e… in foomain() 59 #pragma omp parallel sections private() // expected-error {{expected expression}} in foomain() 63 #pragma omp parallel sections private(argc // expected-error {{expected ')'}} expected-note {{to ma… in foomain() 67 #pragma omp parallel sections private(argc, // expected-error {{expected expression}} expected-erro… in foomain() 71 #pragma omp parallel sections private(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected va… in foomain() 75 #pragma omp parallel sections private(argc) in foomain() 79 #pragma omp parallel sections private(S1) // expected-error {{'S1' does not refer to a value}} in foomain() 83 #pragma omp parallel sections private(a, b) // expected-error {{private variable with incomplete ty… in foomain() 87 #pragma omp parallel sections private(argv[1]) // expected-error {{expected variable name}} in foomain() [all …]
|
D | parallel_for_simd_firstprivate_messages.cpp | 69 #pragma omp parallel for simd firstprivate // expected-error {{expected '(' after 'firstprivate'}} in foomain() 72 #pragma omp parallel for simd firstprivate( // expected-error {{expected expression}} expected-erro… in foomain() 75 #pragma omp parallel for simd firstprivate() // expected-error {{expected expression}} in foomain() 78 #pragma omp parallel for simd firstprivate(argc // expected-error {{expected ')'}} expected-note {{… in foomain() 81 #pragma omp parallel for simd firstprivate(argc, // expected-error {{expected expression}} expected… in foomain() 84 #pragma omp parallel for simd firstprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expect… in foomain() 87 #pragma omp parallel for simd firstprivate(argc) in foomain() 90 #pragma omp parallel for simd firstprivate(S1) // expected-error {{'S1' does not refer to a value}} in foomain() 93 #pragma omp parallel for simd firstprivate(a, b) // expected-error {{firstprivate variable with inc… in foomain() 96 #pragma omp parallel for simd firstprivate(argv[1]) // expected-error {{expected variable name}} in foomain() [all …]
|
D | single_firstprivate_messages.cpp | 69 #pragma omp parallel in foomain() 72 #pragma omp parallel in foomain() 75 #pragma omp parallel in foomain() 78 #pragma omp parallel in foomain() 81 #pragma omp parallel in foomain() 84 #pragma omp parallel in foomain() 87 #pragma omp parallel in foomain() 90 #pragma omp parallel in foomain() 93 #pragma omp parallel in foomain() 96 #pragma omp parallel in foomain() [all …]
|
D | sections_firstprivate_messages.cpp | 69 #pragma omp parallel in foomain() 74 #pragma omp parallel in foomain() 79 #pragma omp parallel in foomain() 84 #pragma omp parallel in foomain() 89 #pragma omp parallel in foomain() 94 #pragma omp parallel in foomain() 99 #pragma omp parallel in foomain() 104 #pragma omp parallel in foomain() 109 #pragma omp parallel in foomain() 114 #pragma omp parallel in foomain() [all …]
|
D | parallel_sections_reduction_messages.cpp | 84 #pragma omp parallel sections reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 88 … parallel sections reduction + // expected-error {{expected '(' after 'reduction'}} expected-warni… in tmain() 92 #pragma omp parallel sections reduction( // expected-error {{expected unqualified-id}} expected-war… in tmain() 96 #pragma omp parallel sections reduction(- // expected-warning {{missing ':' after reduction identif… in tmain() 100 #pragma omp parallel sections reduction() // expected-error {{expected unqualified-id}} expected-wa… in tmain() 104 #pragma omp parallel sections reduction(*) // expected-warning {{missing ':' after reduction identi… in tmain() 108 #pragma omp parallel sections reduction(\) // expected-error {{expected unqualified-id}} expected-w… in tmain() 112 #pragma omp parallel sections reduction(& : argc // expected-error {{expected ')'}} expected-note {… in tmain() 116 #pragma omp parallel sections reduction(| : argc, // expected-error {{expected expression}} expecte… in tmain() 120 #pragma omp parallel sections reduction(|| : argc ? i : argc) // expected-error 2 {{expected variab… in tmain() [all …]
|
D | cancel_if_messages.cpp | 14 #pragma omp parallel in tmain() 16 #pragma omp cancel parallel if // expected-error {{expected '(' after 'if'}} in tmain() 17 …#pragma omp cancel parallel if ( // expected-error {{expected expression}} expected-error {{expect… in tmain() 18 #pragma omp cancel parallel if () // expected-error {{expected expression}} in tmain() 19 …#pragma omp cancel parallel if (argc // expected-error {{expected ')'}} expected-note {{to match t… in tmain() 20 …#pragma omp cancel parallel if (argc)) // expected-warning {{extra tokens at the end of '#pragma o… in tmain() 21 #pragma omp cancel parallel if (argc > 0 ? argv[1] : argv[2]) in tmain() 22 …#pragma omp cancel parallel if (foobool(argc)), if (true) // expected-error {{directive '#pragma o… in tmain() 23 #pragma omp cancel parallel if (S) // expected-error {{'S' does not refer to a value}} in tmain() 24 …#pragma omp cancel parallel if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to m… in tmain() [all …]
|
D | sections_lastprivate_messages.cpp | 70 #pragma omp parallel in foomain() 75 #pragma omp parallel in foomain() 80 #pragma omp parallel in foomain() 85 #pragma omp parallel in foomain() 90 #pragma omp parallel in foomain() 95 #pragma omp parallel in foomain() 100 #pragma omp parallel in foomain() 105 #pragma omp parallel in foomain() 110 #pragma omp parallel in foomain() 115 #pragma omp parallel in foomain() [all …]
|
D | parallel_for_private_messages.cpp | 51 #pragma omp parallel for private // expected-error {{expected '(' after 'private'}} in foomain() 54 #pragma omp parallel for private( // expected-error {{expected expression}} expected-error {{expect… in foomain() 57 #pragma omp parallel for private() // expected-error {{expected expression}} in foomain() 60 #pragma omp parallel for private(argc // expected-error {{expected ')'}} expected-note {{to match t… in foomain() 63 #pragma omp parallel for private(argc, // expected-error {{expected expression}} expected-error {{e… in foomain() 66 #pragma omp parallel for private(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variabl… in foomain() 69 #pragma omp parallel for private(argc) in foomain() 72 #pragma omp parallel for private(S1) // expected-error {{'S1' does not refer to a value}} in foomain() 75 #pragma omp parallel for private(a, b) // expected-error {{private variable with incomplete type 'S… in foomain() 78 #pragma omp parallel for private(argv[1]) // expected-error {{expected variable name}} in foomain() [all …]
|
D | single_copyprivate_messages.cpp | 48 #pragma omp parallel in tmain() 50 #pragma omp parallel in tmain() 52 #pragma omp parallel in tmain() 54 #pragma omp parallel in tmain() 56 #pragma omp parallel in tmain() 58 #pragma omp parallel in tmain() 60 #pragma omp parallel in tmain() 62 #pragma omp parallel in tmain() 64 #pragma omp parallel in tmain() 66 #pragma omp parallel // expected-note {{implicitly determined as shared}} in tmain() [all …]
|
D | parallel_for_simd_lastprivate_messages.cpp | 70 #pragma omp parallel for simd lastprivate // expected-error {{expected '(' after 'lastprivate'}} in foomain() 73 #pragma omp parallel for simd lastprivate( // expected-error {{expected expression}} expected-error… in foomain() 76 #pragma omp parallel for simd lastprivate() // expected-error {{expected expression}} in foomain() 79 #pragma omp parallel for simd lastprivate(argc // expected-error {{expected ')'}} expected-note {{t… in foomain() 82 #pragma omp parallel for simd lastprivate(argc, // expected-error {{expected expression}} expected-… in foomain() 85 #pragma omp parallel for simd lastprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expecte… in foomain() 88 #pragma omp parallel for simd lastprivate(argc) in foomain() 91 #pragma omp parallel for simd lastprivate(S1) // expected-error {{'S1' does not refer to a value}} in foomain() 94 #pragma omp parallel for simd lastprivate(a, b) // expected-error {{lastprivate variable with incom… in foomain() 97 #pragma omp parallel for simd lastprivate(argv[1]) // expected-error {{expected variable name}} in foomain() [all …]
|
D | parallel_for_simd_reduction_messages.cpp | 84 #pragma omp parallel for simd reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 87 … parallel for simd reduction + // expected-error {{expected '(' after 'reduction'}} expected-warni… in tmain() 90 #pragma omp parallel for simd reduction( // expected-error {{expected unqualified-id}} expected-war… in tmain() 93 #pragma omp parallel for simd reduction(- // expected-warning {{missing ':' after reduction identif… in tmain() 96 #pragma omp parallel for simd reduction() // expected-error {{expected unqualified-id}} expected-wa… in tmain() 99 #pragma omp parallel for simd reduction(*) // expected-warning {{missing ':' after reduction identi… in tmain() 102 #pragma omp parallel for simd reduction(\) // expected-error {{expected unqualified-id}} expected-w… in tmain() 105 #pragma omp parallel for simd reduction(& : argc // expected-error {{expected ')'}} expected-note {… in tmain() 108 #pragma omp parallel for simd reduction(| : argc, // expected-error {{expected expression}} expecte… in tmain() 111 #pragma omp parallel for simd reduction(|| : argc ? i : argc) // expected-error 2 {{expected variab… in tmain() [all …]
|
D | parallel_for_reduction_messages.cpp | 84 #pragma omp parallel for reduction // expected-error {{expected '(' after 'reduction'}} in tmain() 87 …omp parallel for reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning… in tmain() 90 #pragma omp parallel for reduction( // expected-error {{expected unqualified-id}} expected-warning … in tmain() 93 #pragma omp parallel for reduction(- // expected-warning {{missing ':' after reduction identifier -… in tmain() 96 #pragma omp parallel for reduction() // expected-error {{expected unqualified-id}} expected-warning… in tmain() 99 #pragma omp parallel for reduction(*) // expected-warning {{missing ':' after reduction identifier … in tmain() 102 #pragma omp parallel for reduction(\) // expected-error {{expected unqualified-id}} expected-warnin… in tmain() 105 #pragma omp parallel for reduction(& : argc // expected-error {{expected ')'}} expected-note {{to m… in tmain() 108 #pragma omp parallel for reduction(| : argc, // expected-error {{expected expression}} expected-err… in tmain() 111 #pragma omp parallel for reduction(|| : argc ? i : argc) // expected-error 2 {{expected variable na… in tmain() [all …]
|
D | parallel_for_simd_private_messages.cpp | 51 #pragma omp parallel for simd private // expected-error {{expected '(' after 'private'}} in foomain() 54 #pragma omp parallel for simd private( // expected-error {{expected expression}} expected-error {{e… in foomain() 57 #pragma omp parallel for simd private() // expected-error {{expected expression}} in foomain() 60 #pragma omp parallel for simd private(argc // expected-error {{expected ')'}} expected-note {{to ma… in foomain() 63 #pragma omp parallel for simd private(argc, // expected-error {{expected expression}} expected-erro… in foomain() 66 #pragma omp parallel for simd private(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected va… in foomain() 69 #pragma omp parallel for simd private(argc) in foomain() 72 #pragma omp parallel for simd private(S1) // expected-error {{'S1' does not refer to a value}} in foomain() 75 #pragma omp parallel for simd private(a, b) // expected-error {{private variable with incomplete ty… in foomain() 78 #pragma omp parallel for simd private(argv[1]) // expected-error {{expected variable name}} in foomain() [all …]
|