clang 20.0.0git
Public Member Functions | List of all members
clang::ParsingOpenACCDirectiveRAII Class Reference

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

#include "clang/Parse/RAIIObjectsForParser.h"

Public Member Functions

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

Detailed Description

Activates OpenACC parsing mode to preseve OpenACC specific annotation tokens.

Definition at line 314 of file RAIIObjectsForParser.h.

Constructor & Destructor Documentation

◆ ParsingOpenACCDirectiveRAII()

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

Definition at line 319 of file RAIIObjectsForParser.h.

References P.

◆ ~ParsingOpenACCDirectiveRAII()

clang::ParsingOpenACCDirectiveRAII::~ParsingOpenACCDirectiveRAII ( )
inline

Definition at line 328 of file RAIIObjectsForParser.h.

References restore().

Member Function Documentation

◆ restore()

void clang::ParsingOpenACCDirectiveRAII::restore ( )
inline

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

Definition at line 326 of file RAIIObjectsForParser.h.

References P.

Referenced by ~ParsingOpenACCDirectiveRAII().


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