clang 20.0.0git
|
#include "clang/Tooling/Transformer/SourceCodeBuilders.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Tooling/Transformer/SourceCode.h"
#include "llvm/ADT/Twine.h"
#include <string>
Go to the source code of this file.
Functions | |
static std::optional< std::string > | buildAccessForValue (const Expr &E, const ASTContext &Context) |
static std::optional< std::string > | buildAccessForPointer (const Expr &E, const ASTContext &Context) |
static const Expr * | maybeGetOperatorObjectArg (const Expr &E, OverloadedOperatorKind K) |
static bool | treatLikePointer (QualType Ty, PLTClass C, ASTContext &Context) |
|
static |
Definition at line 158 of file SourceCodeBuilders.cpp.
References E, clang::tooling::getText(), clang::Expr::IgnoreParenImpCasts(), clang::tooling::needParensBeforeDotOrArrow(), and Text.
Referenced by clang::tooling::buildAccess(), and clang::tooling::buildArrow().
|
static |
Definition at line 132 of file SourceCodeBuilders.cpp.
References E, clang::tooling::getText(), clang::Expr::IgnoreParenImpCasts(), clang::tooling::needParensBeforeDotOrArrow(), and Text.
Referenced by clang::tooling::buildAccess(), and clang::tooling::buildDot().
|
static |
Definition at line 192 of file SourceCodeBuilders.cpp.
References E.
Referenced by clang::tooling::buildAccess().
|
static |
Definition at line 201 of file SourceCodeBuilders.cpp.
References clang::C, and clang::tooling::isKnownPointerLikeType().
Referenced by clang::tooling::buildAccess().