LLVM_DUMP_METHOD void dumpExpandedTextsToStream(raw_ostream &OS) const
Optional< StringRef > getOriginalText(SourceLocation MacroExpansionLoc) const
LLVM_DUMP_METHOD void dumpExpansionRangesToStream(raw_ostream &OS) const
Optional< StringRef > getExpandedText(SourceLocation MacroExpansionLoc) const
LLVM_DUMP_METHOD void dumpExpandedTexts() const
LLVM_DUMP_METHOD void dumpExpansionRanges() const
void registerForPreprocessor(Preprocessor &PP)
Register the necessary callbacks to the Preprocessor to record the expansion events and the generated...
MacroExpansionContext tracks the macro expansions processed by the Preprocessor.
MacroExpansionContext(const LangOptions &LangOpts)
Creates a MacroExpansionContext.