Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Decl

10 // This file tracks the usage of variables in a Decl body to see if they are
17 #include "clang/AST/Decl.h"
66 // Returns a Decl from a (Block)DeclRefExpr (if any)
67 const Decl *PseudoConstantAnalysis::getDecl(const Expr *E) {
93 // Look for a Decl on the LHS
94 const Decl *LHSDecl = getDecl(BO->getLHS()->IgnoreParenCasts());
99 // for any of the assignment operators, implying that this Decl is being
105 const Decl *RHSDecl = getDecl(BO->getRHS()->IgnoreParenCasts());
140 const Decl *D = getDecl(UO->getSubExpr()->IgnoreParenCasts());
171 // Iterate over each decl and see if any of them contain reference decls
182 // Try to find a Decl in the initializer
183 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts());
201 // Add the Decl to the used list