HomeSort by relevance Sort by last modified time
    Searched refs:DeclRefExpr (Results 1 - 25 of 111) sorted by null

1 2 3 4 5

  /external/clang/lib/StaticAnalyzer/Core/
CheckerHelpers.cpp 36 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S);
52 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S);
  /external/clang/lib/StaticAnalyzer/Checkers/
UndefCapturedBlockVarChecker.cpp 37 static const DeclRefExpr *FindBlockDeclRefExpr(const Stmt *S,
39 if (const DeclRefExpr *BR = dyn_cast<DeclRefExpr>(S))
46 const DeclRefExpr *BR = FindBlockDeclRefExpr(child, VD);
CStringSyntaxChecker.cpp 40 if (const DeclRefExpr *D1 = dyn_cast<DeclRefExpr>(A1->IgnoreParenCasts()))
41 if (const DeclRefExpr *D2 = dyn_cast<DeclRefExpr>(A2->IgnoreParenCasts()))
75 if (const DeclRefExpr *D = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()))
DeadStoresChecker.cpp 54 bool VisitDeclRefExpr(DeclRefExpr *DR) {
229 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk,
245 const DeclRefExpr *DR;
247 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts())))
251 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts())))
272 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(B->getLHS()))
288 if (const DeclRefExpr *RhsDR = dyn_cast<DeclRefExpr>(RHS))
310 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)
    [all...]
MallocOverflowSecurityChecker.cpp 91 else if (isa<DeclRefExpr>(e) || isa<MemberExpr>(e))
135 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) {
139 if (const DeclRefExpr *DR_i = dyn_cast<DeclRefExpr>(i->variable)) {
IdenticalExprChecker.cpp 208 const DeclRefExpr *DeclRef1 = dyn_cast<DeclRefExpr>(LHS);
209 const DeclRefExpr *DeclRef2 = dyn_cast<DeclRefExpr>(RHS);
441 const DeclRefExpr *DeclRef1 = cast<DeclRefExpr>(Stmt1);
442 const DeclRefExpr *DeclRef2 = cast<DeclRefExpr>(Stmt2);
CheckSecuritySyntaxOnly.cpp 185 static const DeclRefExpr*
194 if (const DeclRefExpr *lhs = getIncrementedVar(B->getLHS(), x, y))
197 if (const DeclRefExpr *rhs = getIncrementedVar(B->getRHS(), x, y))
203 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(expr)) {
250 const DeclRefExpr *drLHS =
251 dyn_cast<DeclRefExpr>(B->getLHS()->IgnoreParenLValueCasts());
252 const DeclRefExpr *drRHS =
253 dyn_cast<DeclRefExpr>(B->getRHS()->IgnoreParenLValueCasts());
269 const DeclRefExpr *drInc = getIncrementedVar(increment, vdLHS, vdRHS)
    [all...]
CheckSizeofPointer.cpp 62 if (!isa<DeclRefExpr>(ArgEx->IgnoreParens()))
  /external/clang/include/clang/Analysis/Analyses/
LiveVariables.h 27 class DeclRefExpr;
68 virtual void observerKill(const DeclRefExpr *DR) {}
  /external/clang/lib/ARCMigrate/
TransARCAssign.cpp 49 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts());
TransGCCalls.cpp 47 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) {
TransBlockObjCVariable.cpp 52 if (DeclRefExpr *
53 ref = dyn_cast<DeclRefExpr>(castE->getSubExpr())) {
66 bool VisitDeclRefExpr(DeclRefExpr *E) {
TransProtectedScope.cpp 27 SmallVectorImpl<DeclRefExpr *> &Refs;
30 LocalRefsCollector(SmallVectorImpl<DeclRefExpr *> &refs)
33 bool VisitDeclRefExpr(DeclRefExpr *E) {
99 SmallVector<DeclRefExpr *, 16> LocalRefs;
182 DeclRefExpr *DRE = LocalRefs[i];
TransAutoreleasePool.cpp 57 if (DeclRefExpr *DE = dyn_cast<DeclRefExpr>(instance)) {
189 if (DeclRefExpr *dref = dyn_cast<DeclRefExpr>(bop->getLHS())) {
263 bool VisitDeclRefExpr(DeclRefExpr *E) {
309 isa<DeclRefExpr>(retS->getRetValue()->IgnoreParenCasts())) &&
380 if (DeclRefExpr *dref = dyn_cast<DeclRefExpr>(rec))
  /external/clang/lib/CodeGen/
CGCUDARuntime.cpp 42 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) {
  /external/clang/lib/Analysis/
PseudoConstantAnalysis.cpp 68 // Returns a Decl from a (Block)DeclRefExpr (if any)
70 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E))
100 // We found a binary operator with a DeclRefExpr on the LHS. We now check
125 // The DeclRefExpr is being assigned to - mark it as non-constant
156 // If we are taking the address of the DeclRefExpr, assume it is
201 const DeclRefExpr *DR = cast<DeclRefExpr>(Head);
LiveVariables.cpp 91 llvm::DenseMap<const DeclRefExpr *, unsigned> inAssignment;
209 void VisitDeclRefExpr(DeclRefExpr *DR);
342 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS))
371 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *DR) {
387 DeclRefExpr *DR = nullptr;
394 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) {
438 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens()))
517 // to determine if a DeclRefExpr appears in such a context, and thu
    [all...]
UninitializedValues.cpp 268 const DeclRefExpr *dr;
270 FindVarResult(const VarDecl *vd, const DeclRefExpr *dr) : vd(vd), dr(dr) {}
272 const DeclRefExpr *getDeclRefExpr() const { return dr; }
293 if (const DeclRefExpr *DRE =
294 dyn_cast<DeclRefExpr>(stripCasts(DC->getParentASTContext(), E)))
301 /// \brief Classify each DeclRefExpr as an initialization or a use. Any
302 /// DeclRefExpr which isn't explicitly classified will be assumed to have
315 llvm::DenseMap<const DeclRefExpr*, Class> Classification;
334 Class get(const DeclRefExpr *DRE) const {
335 llvm::DenseMap<const DeclRefExpr*, Class>::const_iterator
    [all...]
BodyFarm.cpp 59 /// Create a new DeclRefExpr for the referenced variable.
60 DeclRefExpr *makeDeclRefExpr(const VarDecl *D);
111 DeclRefExpr *ASTMaker::makeDeclRefExpr(const VarDecl *D) {
112 DeclRefExpr *DR =
113 DeclRefExpr::Create(/* Ctx = */ C,
207 DeclRefExpr *DR = M.makeDeclRefExpr(Block);
270 DeclRefExpr *DR = M.makeDeclRefExpr(PV);
  /external/clang/lib/Sema/
ScopeInfo.cpp 59 D = cast<DeclRefExpr>(E)->getDecl();
120 const DeclRefExpr *DRE)
171 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
204 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
SemaOpenMP.cpp 70 DeclRefExpr *RefExpr;
80 DeclRefExpr *RefExpr;
83 typedef llvm::SmallDenseMap<VarDecl *, DeclRefExpr *, 64> AlignedMapTy;
135 DeclRefExpr *addUniqueAligned(VarDecl *D, DeclRefExpr *NewDE);
138 void addDSA(VarDecl *D, DeclRefExpr *E, OpenMPClauseKind A);
302 DeclRefExpr *DSAStackTy::addUniqueAligned(VarDecl *D, DeclRefExpr *NewDE) {
316 void DSAStackTy::addDSA(VarDecl *D, DeclRefExpr *E, OpenMPClauseKind A) {
495 auto VD = cast<VarDecl>(cast<DeclRefExpr>(VarRef)->getDecl())
    [all...]
  /external/clang/include/clang/AST/
EvaluatedExprVisitor.h 38 void VisitDeclRefExpr(DeclRefExpr *E) { }
  /external/lldb/include/lldb/Core/
ClangForward.h 53 class DeclRefExpr;
  /external/clang/include/clang/Sema/
ScopeInfo.h 44 class DeclRefExpr;
198 WeakObjectProfileTy(const DeclRefExpr *RE);
704 assert(isa<DeclRefExpr>(VarExpr) || isa<MemberExpr>(VarExpr));
756 assert(isa<DeclRefExpr>(CapturingVarExpr)
761 assert(isa<DeclRefExpr>(CapturingVarExpr)
  /external/clang/lib/Rewrite/Frontend/
RewriteModernObjC.cpp 132 SmallVector<DeclRefExpr *, 32> InnerDeclRefs;
134 SmallVector<DeclRefExpr *, 32> BlockDeclRefs;
401 Stmt *RewriteBlockDeclRefExpr(DeclRefExpr *VD);
402 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE);
495 const SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs);
508 SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs,
    [all...]

Completed in 1149 milliseconds

1 2 3 4 5