|
clang 23.0.0git
|
Record the previous 'export' keyword info. More...
#include "clang/Lex/Preprocessor.h"
Public Member Functions | |
| ExportContextualKeywordInfo ()=default | |
| ExportContextualKeywordInfo (const Token &Tok, bool AtPhysicalStartOfLine) | |
| bool | isValid () const |
| bool | isAtPhysicalStartOfLine () const |
| Token | getExportTok () const |
| void | reset () |
Record the previous 'export' keyword info.
Since P1857R3, the standard introduced several rules to determine whether the 'module', 'export module', 'import', 'export import' is a valid directive introducer. This class is used to record the previous 'export' keyword token, and then handle 'export module' and 'export import'.
Definition at line 146 of file Preprocessor.h.
|
default |
|
inline |
Definition at line 152 of file Preprocessor.h.
References Tok.
|
inline |
Definition at line 157 of file Preprocessor.h.
|
inline |
Definition at line 156 of file Preprocessor.h.
|
inline |
Definition at line 155 of file Preprocessor.h.
|
inline |
Definition at line 158 of file Preprocessor.h.