We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 266ff53 commit ca31af4Copy full SHA for ca31af4
clang/lib/Parse/ParseOpenMP.cpp
@@ -65,15 +65,15 @@ static OpenMPDirectiveKind parseOpenMPDirectiveKind(Parser &P) {
65
if (Tok.isAnnotation())
66
return OMPD_unknown;
67
68
- S = DNP.apply(S, P.getPreprocessor().getSpelling(Tok));
+ S = DNP.consume(S, P.getPreprocessor().getSpelling(Tok));
69
if (S == nullptr)
70
71
72
while (!Tok.isAnnotation()) {
73
OpenMPDirectiveKind DKind = S->Value;
74
Tok = P.getPreprocessor().LookAhead(0);
75
if (!Tok.isAnnotation()) {
76
77
78
return DKind;
79
P.ConsumeToken();
0 commit comments