ΒΆstd::string getMacroStack(
    clang::SourceLocation Loc,
    clang::ASTContext& Context)

Description

Returns a string that represents all macro expansions that expanded into the given SourceLocation. If 'getMacroStack(A) == getMacroStack(B)' is true, then the SourceLocations A and B are expanded from the same macros in the same order.

Declared at: clang/include/clang/AST/DataCollection.h:39

Parameters

clang::SourceLocation Loc
clang::ASTContext& Context