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

Methods

TrackGMF(
    clang::Preprocessor::TrackGMF::GMFState S)

Declared at: clang/include/clang/Lex/Preprocessor.h:412

Parameters

clang::Preprocessor::TrackGMF::GMFState S

void handleExport()

Description

Saw an 'export' identifier.

Declared at: clang/include/clang/Lex/Preprocessor.h:423

void handleImport(bool AfterTopLevelTokenSeq)

Description

Saw an 'import' identifier.

Declared at: clang/include/clang/Lex/Preprocessor.h:429

Parameters

bool AfterTopLevelTokenSeq

void handleMisc()

Description

Saw any other token.

Declared at: clang/include/clang/Lex/Preprocessor.h:447

void handleModule(bool AfterTopLevelTokenSeq)

Description

Saw a 'module' identifier.

Declared at: clang/include/clang/Lex/Preprocessor.h:436

Parameters

bool AfterTopLevelTokenSeq

void handleSemi()

Description

Saw a semicolon.

Declared at: clang/include/clang/Lex/Preprocessor.h:415

bool inGMF()

Declared at: clang/include/clang/Lex/Preprocessor.h:453