Skip to content

Commit 6e11ed2

Browse files
authored
[clang][OpenACC] Fix copy-paste name in ParsingOpenACCDirectiveRAII (llvm#81796)
1 parent d3b825f commit 6e11ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Parse/RAIIObjectsForParser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ namespace clang {
323323

324324
/// This can be used to restore the state early, before the dtor
325325
/// is run.
326-
void restore() { P.OpenMPDirectiveParsing = OldVal; }
326+
void restore() { P.OpenACCDirectiveParsing = OldVal; }
327327

328328
~ParsingOpenACCDirectiveRAII() { restore(); }
329329
};

0 commit comments

Comments
 (0)