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

1 2 3 4

  /external/clang/lib/StaticAnalyzer/Core/
CheckerHelpers.cpp 36 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S);
52 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S);
BugReporterVisitors.cpp 317 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) {
414 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Head)) {
541 return VisitTrueTest(Cond, cast<DeclRefExpr>(Ex), tookTrue, BRC,
564 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) {
724 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(CondVarExpr)) {
739 const DeclRefExpr *DR
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
UndefCapturedBlockVarChecker.cpp 36 static const DeclRefExpr *FindBlockDeclRefExpr(const Stmt *S,
38 if (const DeclRefExpr *BR = dyn_cast<DeclRefExpr>(S))
45 const DeclRefExpr *BR = FindBlockDeclRefExpr(child, VD);
DeadStoresChecker.cpp 171 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk,
187 const DeclRefExpr *DR;
189 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts())))
193 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts())))
214 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(B->getLHS()))
229 if (const DeclRefExpr *RhsDR = dyn_cast<DeclRefExpr>(RHS))
251 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)
    [all...]
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()))
IdempotentOperationChecker.cpp 94 static bool isConstantOrPseudoConstant(const DeclRefExpr *DR,
470 const DeclRefExpr *LHS_DR = dyn_cast<DeclRefExpr>(LHS);
478 const DeclRefExpr *RHS_DR = dyn_cast<DeclRefExpr>(RHS);
495 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts());
514 const DeclRefExpr *LHS_DR = dyn_cast<DeclRefExpr>(LHS->IgnoreParenCasts());
522 const DeclRefExpr *RHS_DR = dyn_cast<DeclRefExpr>(RHS->IgnoreParenCasts())
    [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)) {
CheckSecuritySyntaxOnly.cpp 181 static const DeclRefExpr*
190 if (const DeclRefExpr *lhs = getIncrementedVar(B->getLHS(), x, y))
193 if (const DeclRefExpr *rhs = getIncrementedVar(B->getRHS(), x, y))
199 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(expr)) {
246 const DeclRefExpr *drLHS =
247 dyn_cast<DeclRefExpr>(B->getLHS()->IgnoreParenLValueCasts());
248 const DeclRefExpr *drRHS =
249 dyn_cast<DeclRefExpr>(B->getRHS()->IgnoreParenLValueCasts());
265 const DeclRefExpr *drInc = getIncrementedVar(increment, vdLHS, vdRHS)
    [all...]
CheckSizeofPointer.cpp 60 if (!isa<DeclRefExpr>(ArgEx->IgnoreParens()))
DereferenceChecker.cpp 58 const DeclRefExpr *DR = cast<DeclRefExpr>(Ex);
164 if (const DeclRefExpr *DR =
165 dyn_cast<DeclRefExpr>(IV->getBase()->IgnoreParenCasts())) {
IteratorsChecker.cpp 142 const DeclRefExpr *getDeclRefExpr(const Expr *E) const;
287 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(ME->getBase());
315 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(rexp)) {
358 // Get the DeclRefExpr associated with the expression.
359 const DeclRefExpr *IteratorsChecker::getDeclRefExpr(const Expr *E) const {
375 return dyn_cast<DeclRefExpr>(E);
381 const DeclRefExpr *DRE = getDeclRefExpr(E);
574 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(ME->getBase())
    [all...]
  /external/clang/include/clang/Analysis/Analyses/
LiveVariables.h 27 class DeclRefExpr;
68 virtual void observerKill(const DeclRefExpr *DR) {}
  /external/clang/lib/ARCMigrate/
TransARCAssign.cpp 48 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts());
TransGCCalls.cpp 53 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) {
TransBlockObjCVariable.cpp 51 if (DeclRefExpr *
52 ref = dyn_cast<DeclRefExpr>(castE->getSubExpr())) {
65 bool VisitDeclRefExpr(DeclRefExpr *E) {
TransAutoreleasePool.cpp 56 if (DeclRefExpr *DE = dyn_cast<DeclRefExpr>(instance)) {
188 if (DeclRefExpr *dref = dyn_cast<DeclRefExpr>(bop->getLHS())) {
262 bool VisitDeclRefExpr(DeclRefExpr *E) {
308 isa<DeclRefExpr>(retS->getRetValue()->IgnoreParenCasts())) &&
379 if (DeclRefExpr *dref = dyn_cast<DeclRefExpr>(rec))
  /external/clang/lib/CodeGen/
CGCUDARuntime.cpp 41 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) {
  /external/clang/lib/Analysis/
PseudoConstantAnalysis.cpp 67 // Returns a Decl from a (Block)DeclRefExpr (if any)
69 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E))
99 // We found a binary operator with a DeclRefExpr on the LHS. We now check
124 // The DeclRefExpr is being assigned to - mark it as non-constant
155 // If we are taking the address of the DeclRefExpr, assume it is
201 const DeclRefExpr *DR = cast<DeclRefExpr>(Head);
UninitializedValues.cpp 329 const DeclRefExpr *dr;
331 FindVarResult(VarDecl *vd, DeclRefExpr *dr) : vd(vd), dr(dr) {}
333 const DeclRefExpr *getDeclRefExpr() const { return dr; }
343 /// The last DeclRefExpr seen when analyzing a block. Used to
345 DeclRefExpr *lastDR;
365 void reportUninit(const DeclRefExpr *ex, const VarDecl *vd,
370 void VisitDeclRefExpr(DeclRefExpr *dr);
401 void TransferFunctions::reportUninit(const DeclRefExpr *ex,
407 if (DeclRefExpr *dr = dyn_cast<DeclRefExpr>(ex->IgnoreParenCasts())
    [all...]
LiveVariables.cpp 96 llvm::DenseMap<const DeclRefExpr *, unsigned> inAssignment;
214 void VisitDeclRefExpr(DeclRefExpr *DR);
339 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS))
368 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *DR) {
385 DeclRefExpr *DR = 0;
392 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) {
436 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens()))
503 // to determine if a DeclRefExpr appears in such a context, and thu
    [all...]
  /external/clang/include/clang/AST/
EvaluatedExprVisitor.h 38 void VisitDeclRefExpr(DeclRefExpr *E) { }
  /external/clang/include/clang/Analysis/Visitors/
CFGRecStmtDeclVisitor.h 41 void VisitDeclRefExpr(DeclRefExpr *DR) {
  /external/clang/lib/Sema/
SemaChecking.cpp 491 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
813 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
    [all...]
  /external/clang/lib/Rewrite/
RewriteModernObjC.cpp 130 SmallVector<DeclRefExpr *, 32> InnerDeclRefs;
132 SmallVector<DeclRefExpr *, 32> BlockDeclRefs;
341 Stmt *RewriteBlockDeclRefExpr(DeclRefExpr *VD);
342 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE);
425 const SmallVector<DeclRefExpr *, 8> &InnerBlockDeclRefs);
438 SmallVector<DeclRefExpr *, 8> &InnerBlockDeclRefs,
    [all...]
  /frameworks/compile/slang/
slang_rs_object_ref_count.cpp 389 // (DeclRefExpr 'void (rs_font *)' FunctionDecl='rsClearObject'))
391 // (DeclRefExpr 'rs_font':'rs_font' Var='localFont')))
403 clang::DeclRefExpr::Create(C,
476 // (DeclRefExpr 'int' Var='rsIntIter')
479 // (DeclRefExpr 'int' Var='rsIntIter')
483 // (DeclRefExpr 'int' Var='rsIntIter'))
486 // (DeclRefExpr 'void (rs_font *)' FunctionDecl='rsClearObject'))
490 // (DeclRefExpr 'rs_font [10]' Var='fontArr'))
491 // (DeclRefExpr 'int' Var='rsIntIter')))))))
515 clang::DeclRefExpr *RefrsIntIter
    [all...]

Completed in 183 milliseconds

1 2 3 4