clang 20.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.
 
 ~ParsingOpenMPDirectiveRAII ()
 

Detailed Description

Activates OpenMP parsing mode to preseve OpenMP specific annotation tokens.

Definition at line 295 of file RAIIObjectsForParser.h.

Constructor & Destructor Documentation

◆ ParsingOpenMPDirectiveRAII()

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

Definition at line 300 of file RAIIObjectsForParser.h.

References P.

◆ ~ParsingOpenMPDirectiveRAII()

clang::ParsingOpenMPDirectiveRAII::~ParsingOpenMPDirectiveRAII ( )
inline

Definition at line 309 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 307 of file RAIIObjectsForParser.h.

References P.

Referenced by ~ParsingOpenMPDirectiveRAII().


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