clang  15.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>
Include dependency graph for SourceCodeBuilders.cpp:

Go to the source code of this file.

Functions

static llvm::Optional< std::stringbuildAccessForValue (const Expr &E, const ASTContext &Context)
 
static llvm::Optional< std::stringbuildAccessForPointer (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 llvm::Optional<std::string> buildAccessForPointer ( const Expr E,
const ASTContext Context 
)
static

◆ buildAccessForValue()

static llvm::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.

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

◆ treatLikePointer()

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