Lines Matching full:nameddecl
108 const NamedDecl* getNamedDecl() const {
110 return reinterpret_cast<const NamedDecl*>(Data);
113 const NamedDecl* getFunctionDecl() const {
115 return reinterpret_cast<const NamedDecl*>(Data);
168 const NamedDecl* AttrDecl; // The decl to which the attribute is attached.
175 CallingContext(const NamedDecl *D = 0, const Expr *S = 0,
206 unsigned makeNamedVar(const NamedDecl *D) {
211 unsigned makeLocalVar(const NamedDecl *D) {
221 unsigned makeDot(const NamedDecl *D, bool Arrow) {
226 unsigned makeCall(unsigned NumArgs, const NamedDecl *D) {
283 const NamedDecl *ND = cast<NamedDecl>(DRE->getDecl()->getCanonicalDecl());
316 const NamedDecl *ND = ME->getMemberDecl();
471 const NamedDecl *D, VarDecl *SelfDecl = 0) {
553 SExpr(const Expr* MutexExp, const Expr *DeclExp, const NamedDecl* D,
578 const Expr *DeclExp, const NamedDecl* D) {
673 if (const NamedDecl *D = N->getFunctionDecl())
899 typedef llvm::ImmutableMap<const NamedDecl*, unsigned> LocalVarContext;
962 const NamedDecl *Dec; // The original declaration for this variable.
971 VarDefinition(const NamedDecl *D, const Expr *E, Context C)
976 VarDefinition(const NamedDecl *D, unsigned R, Context C)
994 const VarDefinition* lookup(const NamedDecl *D, Context Ctx) {
1005 const Expr* lookupExpr(const NamedDecl *D, Context &Ctx) {
1040 const NamedDecl *Dec = VarDefinitions[i].Dec;
1068 const NamedDecl *D = I.getKey();
1092 Context addDefinition(const NamedDecl *D, Expr *Exp, Context Ctx) {
1101 Context addReference(const NamedDecl *D, unsigned i, Context Ctx) {
1110 Context updateDefinition(const NamedDecl *D, Expr *Exp, Context Ctx) {
1123 Context clearDefinition(const NamedDecl *D, Context Ctx) {
1133 Context removeDefinition(const NamedDecl *D, Context Ctx) {
1218 const NamedDecl *Dec = I.getKey();
1235 const NamedDecl *Dec = I.getKey();
1247 const NamedDecl *Dec = I.getKey();
1446 const NamedDecl *D, VarDecl *SelfDecl=0);
1450 const NamedDecl *D,
1536 Expr *Exp, const NamedDecl *D,
1565 Expr *Exp, const NamedDecl *D,
1685 NamedDecl *FunDecl = dyn_cast_or_null<NamedDecl>(Exp->getCalleeDecl());
1746 void warnIfMutexNotHeld(const NamedDecl *D, const Expr *Exp, AccessKind AK,
1748 void warnIfMutexHeld(const NamedDecl *D, const Expr *Exp, Expr *MutexExp);
1753 void handleCall(Expr *Exp, const NamedDecl *D, VarDecl *VD = 0);
1789 void BuildLockset::warnIfMutexNotHeld(const NamedDecl *D, const Expr *Exp,
1828 void BuildLockset::warnIfMutexHeld(const NamedDecl *D, const Expr* Exp,
1913 void BuildLockset::handleCall(Expr *Exp, const NamedDecl *D, VarDecl *VD) {
2105 NamedDecl *D = dyn_cast_or_null<NamedDecl>(Exp->getCalleeDecl());
2136 NamedDecl *CtorD = dyn_cast_or_null<NamedDecl>(CE->getConstructor());
2253 const NamedDecl *D = dyn_cast_or_null<NamedDecl>(AC.getDecl());