HomeSort by relevance Sort by last modified time
    Searched refs:DeclRefExpr (Results 1 - 25 of 110) 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 39 if (const DeclRefExpr *D1 = dyn_cast<DeclRefExpr>(A1->IgnoreParenCasts()))
40 if (const DeclRefExpr *D2 = dyn_cast<DeclRefExpr>(A2->IgnoreParenCasts()))
74 if (const DeclRefExpr *D = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()))
DeadStoresChecker.cpp 54 bool VisitDeclRefExpr(DeclRefExpr *DR) {
226 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk,
242 const DeclRefExpr *DR;
244 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts())))
248 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts())))
269 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(B->getLHS()))
285 if (const DeclRefExpr *RhsDR = dyn_cast<DeclRefExpr>(RHS))
307 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)
    [all...]
IdempotentOperationChecker.cpp 95 static bool isConstantOrPseudoConstant(const DeclRefExpr *DR,
474 const DeclRefExpr *LHS_DR = dyn_cast<DeclRefExpr>(LHS);
482 const DeclRefExpr *RHS_DR = dyn_cast<DeclRefExpr>(RHS);
499 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts());
518 const DeclRefExpr *LHS_DR = dyn_cast<DeclRefExpr>(LHS->IgnoreParenCasts());
526 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 175 static const DeclRefExpr*
184 if (const DeclRefExpr *lhs = getIncrementedVar(B->getLHS(), x, y))
187 if (const DeclRefExpr *rhs = getIncrementedVar(B->getRHS(), x, y))
193 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(expr)) {
240 const DeclRefExpr *drLHS =
241 dyn_cast<DeclRefExpr>(B->getLHS()->IgnoreParenLValueCasts());
242 const DeclRefExpr *drRHS =
243 dyn_cast<DeclRefExpr>(B->getRHS()->IgnoreParenLValueCasts());
259 const DeclRefExpr *drInc = getIncrementedVar(increment, vdLHS, vdRHS)
    [all...]
CheckSizeofPointer.cpp 60 if (!isa<DeclRefExpr>(ArgEx->IgnoreParens()))
CheckObjCDealloc.cpp 71 if (DeclRefExpr *E = dyn_cast<DeclRefExpr>(Receiver))
DereferenceChecker.cpp 63 const DeclRefExpr *DR = cast<DeclRefExpr>(Ex);
  /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 53 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))
TransZeroOutPropsInDealloc.cpp 53 DeclRefExpr *refE = dyn_cast<DeclRefExpr>(receiver->IgnoreParenCasts());
  /external/clang/lib/CodeGen/
CGCUDARuntime.cpp 41 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
202 const DeclRefExpr *DR = cast<DeclRefExpr>(Head);
BodyFarm.cpp 60 /// Create a new DeclRefExpr for the referenced variable.
61 DeclRefExpr *makeDeclRefExpr(const VarDecl *D);
109 DeclRefExpr *ASTMaker::makeDeclRefExpr(const VarDecl *D) {
110 DeclRefExpr *DR =
111 DeclRefExpr::Create(/* Ctx = */ C,
195 DeclRefExpr *DR = M.makeDeclRefExpr(Block);
258 DeclRefExpr *DR = M.makeDeclRefExpr(PV);
LiveVariables.cpp 106 llvm::DenseMap<const DeclRefExpr *, unsigned> inAssignment;
224 void VisitDeclRefExpr(DeclRefExpr *DR);
357 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS))
386 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *DR) {
403 DeclRefExpr *DR = 0;
410 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) {
454 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens()))
533 // to determine if a DeclRefExpr appears in such a context, and thu
    [all...]
UninitializedValues.cpp 269 const DeclRefExpr *dr;
271 FindVarResult(const VarDecl *vd, const DeclRefExpr *dr) : vd(vd), dr(dr) {}
273 const DeclRefExpr *getDeclRefExpr() const { return dr; }
294 if (const DeclRefExpr *DRE =
295 dyn_cast<DeclRefExpr>(stripCasts(DC->getParentASTContext(), E)))
302 /// \brief Classify each DeclRefExpr as an initialization or a use. Any
303 /// DeclRefExpr which isn't explicitly classified will be assumed to have
316 llvm::DenseMap<const DeclRefExpr*, Class> Classification;
335 Class get(const DeclRefExpr *DRE) const {
336 llvm::DenseMap<const DeclRefExpr*, Class>::const_iterator
    [all...]
  /external/clang/include/clang/AST/
EvaluatedExprVisitor.h 38 void VisitDeclRefExpr(DeclRefExpr *E) { }
  /external/clang/lib/Sema/
ScopeInfo.cpp 53 D = cast<DeclRefExpr>(E)->getDecl();
115 const DeclRefExpr *DRE)
160 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
SemaOpenMP.cpp 160 DeclRefExpr *DE = cast<DeclRefExpr>(*I);
324 DeclRefExpr *DE = dyn_cast_or_null<DeclRefExpr>(*I);

Completed in 158 milliseconds

1 2 3 4 5