class Preprocessor::TrackGMF
Declaration
class Preprocessor::TrackGMF { /* full declaration omitted */ };
Description
Track whether we are in a Global Module Fragment
Declared at: clang/include/clang/Lex/Preprocessor.h:403
Member Variables
- private clang::Preprocessor::TrackGMF::GMFState S
- Track the transitions into and out of a Global Module Fragment, if one is present.
Method Overview
- public TrackGMF(clang::Preprocessor::TrackGMF::GMFState S)
- public void handleExport()
- public void handleImport(bool AfterTopLevelTokenSeq)
- public void handleMisc()
- public void handleModule(bool AfterTopLevelTokenSeq)
- public void handleSemi()
- public bool inGMF()
Methods
¶TrackGMF(
clang::Preprocessor::TrackGMF::GMFState S)
TrackGMF(
clang::Preprocessor::TrackGMF::GMFState S)
Declared at: clang/include/clang/Lex/Preprocessor.h:412
Parameters
- clang::Preprocessor::TrackGMF::GMFState S
¶void handleExport()
void handleExport()
Description
Saw an 'export' identifier.
Declared at: clang/include/clang/Lex/Preprocessor.h:423
¶void handleImport(bool AfterTopLevelTokenSeq)
void handleImport(bool AfterTopLevelTokenSeq)
Description
Saw an 'import' identifier.
Declared at: clang/include/clang/Lex/Preprocessor.h:429
Parameters
- bool AfterTopLevelTokenSeq
¶void handleMisc()
void handleMisc()
Description
Saw any other token.
Declared at: clang/include/clang/Lex/Preprocessor.h:447
¶void handleModule(bool AfterTopLevelTokenSeq)
void handleModule(bool AfterTopLevelTokenSeq)
Description
Saw a 'module' identifier.
Declared at: clang/include/clang/Lex/Preprocessor.h:436
Parameters
- bool AfterTopLevelTokenSeq
¶void handleSemi()
void handleSemi()
Description
Saw a semicolon.
Declared at: clang/include/clang/Lex/Preprocessor.h:415
¶bool inGMF()
bool inGMF()
Declared at: clang/include/clang/Lex/Preprocessor.h:453