Skip to content

Commit

Permalink
[clang][OpenACC] Fix copy-paste name in ParsingOpenACCDirectiveRAII (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
FruitClover committed Feb 15, 2024
1 parent d3b825f commit 6e11ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/include/clang/Parse/RAIIObjectsForParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ namespace clang {

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

~ParsingOpenACCDirectiveRAII() { restore(); }
};
Expand Down

0 comments on commit 6e11ed2

Please sign in to comment.