13#ifndef LLVM_CLANG_TOOLING_TRANSFORMER_SOURCECODE_H
14#define LLVM_CLANG_TOOLING_TRANSFORMER_SOURCECODE_H
98 bool AllowSystemHeaders);
112std::optional<CharSourceRange>
115 bool IncludeMacroExpansion =
true);
116inline std::optional<CharSourceRange>
118 bool IncludeMacroExpansion =
true) {
120 Context.getLangOpts(), IncludeMacroExpansion);
135 bool IncludeMacroExpansion);
136inline std::optional<CharSourceRange>
138 bool IncludeMacroExpansion) {
139 return getFileRange(EditRange, Context.getSourceManager(),
140 Context.getLangOpts(), IncludeMacroExpansion);
Defines the clang::ASTContext interface.
Defines the clang::SourceLocation class and associated facilities.
Defines the clang::TokenKind enum and support functions.
Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...
Represents a character-granular source range.
static CharSourceRange getTokenRange(SourceRange R)
Decl - This represents one declaration (or definition), e.g.
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
This class handles loading and caching of source files into memory.
TokenKind
Provides a simple uniform namespace for tokens from all C languages.
The JSON file list parser is used to communicate input to InstallAPI.
const FunctionProtoType * T