clang  14.0.0git
Public Member Functions | List of all members
clang::ParsingOpenMPDirectiveRAII Class Reference

Activates OpenMP parsing mode to preseve OpenMP specific annotation tokens. More...

#include "clang/Parse/RAIIObjectsForParser.h"

Public Member Functions

 ParsingOpenMPDirectiveRAII (Parser &P, bool Value=true)
 
void restore ()
 This can be used to restore the state early, before the dtor is run. More...
 
 ~ParsingOpenMPDirectiveRAII ()
 

Detailed Description

Activates OpenMP parsing mode to preseve OpenMP specific annotation tokens.

Definition at line 292 of file RAIIObjectsForParser.h.

Constructor & Destructor Documentation

◆ ParsingOpenMPDirectiveRAII()

clang::ParsingOpenMPDirectiveRAII::ParsingOpenMPDirectiveRAII ( Parser P,
bool  Value = true 
)
inline

Definition at line 297 of file RAIIObjectsForParser.h.

References P.

◆ ~ParsingOpenMPDirectiveRAII()

clang::ParsingOpenMPDirectiveRAII::~ParsingOpenMPDirectiveRAII ( )
inline

Definition at line 306 of file RAIIObjectsForParser.h.

References restore().

Member Function Documentation

◆ restore()

void clang::ParsingOpenMPDirectiveRAII::restore ( )
inline

This can be used to restore the state early, before the dtor is run.

Definition at line 304 of file RAIIObjectsForParser.h.

References P.

Referenced by ~ParsingOpenMPDirectiveRAII().


The documentation for this class was generated from the following file: