clang 20.0.0git
Functions
SourceCodeBuilders.cpp File Reference
#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 ExprmaybeGetOperatorObjectArg (const Expr &E, OverloadedOperatorKind K)
 
static bool treatLikePointer (QualType Ty, PLTClass C, ASTContext &Context)
 

Function Documentation

◆ buildAccessForPointer()

static std::optional< std::string > buildAccessForPointer ( const Expr E,
const ASTContext Context 
)
static

◆ buildAccessForValue()

static std::optional< std::string > buildAccessForValue ( const Expr E,
const ASTContext Context 
)
static

◆ maybeGetOperatorObjectArg()

static const Expr * maybeGetOperatorObjectArg ( const Expr E,
OverloadedOperatorKind  K 
)
static

Definition at line 192 of file SourceCodeBuilders.cpp.

References E.

Referenced by clang::tooling::buildAccess().

◆ treatLikePointer()

static bool treatLikePointer ( QualType  Ty,
PLTClass  C,
ASTContext Context 
)
static