9#ifndef LLVM_CLANG_ANALYSIS_SUPPORT_FIXITUTIL_H
10#define LLVM_CLANG_ANALYSIS_SUPPORT_FIXITUTIL_H
26std::optional<std::string>
28 const LangOptions &LangOpts,
29 std::optional<Qualifiers> *QualifiersToAppend);
32std::optional<std::string>
35 std::optional<Qualifiers> *QualifiersToAppend);
53template <
typename NodeTy>
Defines the clang::SourceLocation class and associated facilities.
Represents a ValueDecl that came out of a declarator.
This represents one expression.
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset, const SourceManager &SM, const LangOptions &LangOpts)
Computes the source location just past the end of the token at this source location.
Encodes a location in the source.
bool isValid() const
Return true if this is a valid SourceLocation object.
This class handles loading and caching of source files into memory.
A trivial tuple used to represent a source range.
The JSON file list parser is used to communicate input to InstallAPI.
SourceLocation getVarDeclIdentifierLoc(const DeclaratorDecl *VD)
SourceLocation getBeginLocOfNestedIdentifier(const DeclaratorDecl *D)
std::optional< StringRef > getExprText(const Expr *E, const SourceManager &SM, const LangOptions &LangOpts)
std::optional< std::string > getPointeeTypeText(const DeclaratorDecl *VD, const SourceManager &SM, const LangOptions &LangOpts, std::optional< Qualifiers > *QualifiersToAppend)
std::optional< std::string > getPointee2TypeText(const DeclaratorDecl *VD, const SourceManager &SM, const LangOptions &LangOpts, std::optional< Qualifiers > *QualifiersToAppend)
std::optional< StringRef > getRangeText(SourceRange SR, const SourceManager &SM, const LangOptions &LangOpts)
std::optional< StringRef > getVarDeclIdentifierText(const DeclaratorDecl *VD, const SourceManager &SM, const LangOptions &LangOpts)
std::optional< SourceLocation > getPastLoc(const NodeTy *Node, const SourceManager &SM, const LangOptions &LangOpts)