class ParsingOpenMPDirectiveRAII
Declaration
class ParsingOpenMPDirectiveRAII { /* full declaration omitted */ };
Description
Activates OpenMP parsing mode to preseve OpenMP specific annotation tokens.
Declared at: clang/include/clang/Parse/RAIIObjectsForParser.h:295
Member Variables
- private clang::Parser& P
- private bool OldVal
Method Overview
- public ParsingOpenMPDirectiveRAII(clang::Parser & P, bool Value = true)
- public void restore()
- public ~ParsingOpenMPDirectiveRAII()
Methods
¶ParsingOpenMPDirectiveRAII(clang::Parser& P,
bool Value = true)
ParsingOpenMPDirectiveRAII(clang::Parser& P,
bool Value = true)
Declared at: clang/include/clang/Parse/RAIIObjectsForParser.h:300
Parameters
- clang::Parser& P
- bool Value = true
¶void restore()
void restore()
Description
This can be used to restore the state early, before the dtor is run.
Declared at: clang/include/clang/Parse/RAIIObjectsForParser.h:307
¶~ParsingOpenMPDirectiveRAII()
~ParsingOpenMPDirectiveRAII()
Declared at: clang/include/clang/Parse/RAIIObjectsForParser.h:309