#include "clang/Tooling/Transformer/RangeSelector.h"
#include "clang/AST/Expr.h"
#include "clang/AST/TypeLoc.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Lex/Lexer.h"
#include "clang/Tooling/Transformer/SourceCode.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/Error.h"
#include <string>
#include <utility>
#include <vector>
Go to the source code of this file.
|
static Error | invalidArgumentError (Twine Message) |
|
static Error | typeError (StringRef ID, const ASTNodeKind &Kind) |
|
static Error | typeError (StringRef ID, const ASTNodeKind &Kind, Twine ExpectedType) |
|
static Error | missingPropertyError (StringRef ID, Twine Description, StringRef Property) |
|
static Expected< DynTypedNode > | getNode (const ast_matchers::BoundNodes &Nodes, StringRef ID) |
|
static SourceLocation | findPreviousTokenStart (SourceLocation Start, const SourceManager &SM, const LangOptions &LangOpts) |
|
static SourceLocation | findPreviousTokenKind (SourceLocation Start, const SourceManager &SM, const LangOptions &LangOpts, tok::TokenKind TK) |
|
static SourceLocation | findOpenParen (const CallExpr &E, const SourceManager &SM, const LangOptions &LangOpts) |
|
◆ MatchResult
◆ findOpenParen()
◆ findPreviousTokenKind()
◆ findPreviousTokenStart()
◆ getNode()
◆ invalidArgumentError()
static Error invalidArgumentError |
( |
Twine |
Message | ) |
|
|
static |
◆ missingPropertyError()
static Error missingPropertyError |
( |
StringRef |
ID, |
|
|
Twine |
Description, |
|
|
StringRef |
Property |
|
) |
| |
|
static |
◆ typeError() [1/2]
static Error typeError |
( |
StringRef |
ID, |
|
|
const ASTNodeKind & |
Kind |
|
) |
| |
|
static |
◆ typeError() [2/2]
static Error typeError |
( |
StringRef |
ID, |
|
|
const ASTNodeKind & |
Kind, |
|
|
Twine |
ExpectedType |
|
) |
| |
|
static |