/external/clang/include/clang/AST/ |
H A D | DeclAccessPair.h | 41 NamedDecl *getDecl() const { function in class:clang::DeclAccessPair 52 set(getDecl(), AS); 59 operator NamedDecl*() const { return getDecl(); } 60 NamedDecl *operator->() const { return getDecl(); }
|
H A D | GlobalDecl.h | 59 const Decl *getDecl() const { return Value.getPointer(); } function in class:clang::GlobalDecl 62 assert(isa<CXXConstructorDecl>(getDecl()) && "Decl is not a ctor!"); 67 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!");
|
H A D | EvaluatedExprVisitor.h | 68 if (cast<CXXRecordDecl>(Record->getDecl())->isPolymorphic())
|
H A D | UnresolvedSet.h | 50 NamedDecl *getDecl() const { return ir->getDecl(); } function in class:clang::UnresolvedSetIterator 55 NamedDecl *operator*() const { return getDecl(); } 124 if (I->getDecl() == Old)
|
/external/clang/include/clang/Analysis/Analyses/ |
H A D | PseudoConstantAnalysis.h | 33 inline static const Decl *getDecl(const Expr *E);
|
/external/clang/lib/Analysis/ |
H A D | PseudoConstantAnalysis.cpp | 69 const Decl *PseudoConstantAnalysis::getDecl(const Expr *E) { function in class:PseudoConstantAnalysis 71 return DR->getDecl(); 96 const Decl *LHSDecl = getDecl(BO->getLHS()->IgnoreParenCasts()); 107 const Decl *RHSDecl = getDecl(BO->getRHS()->IgnoreParenCasts()); 142 const Decl *D = getDecl(UO->getSubExpr()->IgnoreParenCasts()); 186 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts()); 203 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
|
H A D | CocoaConventions.cpp | 29 StringRef TDName = TD->getDecl()->getIdentifier()->getName(); 35 RetTy = TD->getDecl()->getUnderlyingType();
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenTBAA.cpp | 64 return TTy->getDecl()->hasAttr<MayAliasAttr>(); 68 if (TTy->getDecl()->hasAttr<MayAliasAttr>()) 143 ETy->getDecl()->getTypedefNameForAnonDecl()) 151 ETy->getDecl()->getLinkage() != ExternalLinkage)
|
H A D | CGCUDARuntime.cpp | 42 TargetDecl = DRE->getDecl();
|
/external/clang/lib/ARCMigrate/ |
H A D | TransARCAssign.cpp | 50 if (declRef && isa<VarDecl>(declRef->getDecl())) { 55 VarDecl *var = cast<VarDecl>(declRef->getDecl());
|
H A D | TransBlockObjCVariable.cpp | 53 if (ref->getDecl() == Var) { 66 if (E->getDecl() == Var)
|
H A D | TransGCCalls.cpp | 54 if (FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(DRE->getDecl())) {
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerHelpers.cpp | 38 if (DR && isa<EnumConstantDecl>(DR->getDecl())) 55 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
|
H A D | CallEvent.cpp | 68 const RecordDecl *RD = RT->getDecl(); 85 if (!getDecl()) 203 const Decl *D = getDecl(); 238 if (const Decl *D = getDecl()) { 280 const FunctionDecl *D = getDecl(); 288 const FunctionDecl *D = getDecl(); 298 const FunctionDecl *D = cast<FunctionDecl>(CalleeCtx->getDecl()); 308 const FunctionDecl *D = getDecl(); 361 const FunctionDecl *SimpleCall::getDecl() const { function in class:SimpleCall 370 const FunctionDecl *CXXInstanceCall::getDecl() cons function in class:CXXInstanceCall [all...] |
/external/clang/lib/AST/ |
H A D | Type.cpp | 51 ND = ty->getAs<RecordType>()->getDecl(); 53 ND = ty->getAs<EnumType>()->getDecl(); 55 ND = ty->getAs<TypedefType>()->getDecl(); 352 return RT->getDecl()->isClass(); 357 return RT->getDecl()->isStruct(); 362 return RT->getDecl()->isInterface(); 367 return RT->getDecl()->isStruct() || RT->getDecl()->isClass() || 368 RT->getDecl()->isInterface(); 379 return RT->getDecl() 1790 TagDecl *TagType::getDecl() const { function in class:TagType 1798 CXXRecordDecl *InjectedClassNameType::getDecl() const { function in class:InjectedClassNameType [all...] |
H A D | CXXInheritance.cpp | 143 cast_or_null<CXXRecordDecl>(Ty->getDecl()->getDefinition()); 260 ->getDecl()); 325 VBase = cast<CXXRecordDecl>(Record->getDecl()); 340 HidingClass = cast<CXXRecordDecl>(Record->getDecl()); 366 return Specifier->getType()->castAs<RecordType>()->getDecl() 376 Specifier->getType()->castAs<RecordType>()->getDecl() 384 Specifier->getType()->castAs<RecordType>()->getDecl(); 401 Specifier->getType()->castAs<RecordType>()->getDecl(); 420 Specifier->getType()->castAs<RecordType>()->getDecl(); 494 const CXXRecordDecl *BaseDecl = cast<CXXRecordDecl>(RT->getDecl()); [all...] |
H A D | VTTBuilder.cpp | 67 cast<CXXRecordDecl>(I->getType()->getAs<RecordType>()->getDecl()); 94 cast<CXXRecordDecl>(I->getType()->getAs<RecordType>()->getDecl()); 159 cast<CXXRecordDecl>(I->getType()->getAs<RecordType>()->getDecl());
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | BoolAssignmentChecker.cpp | 47 return TT->getDecl()->getName() == "BOOL" || // Objective-C 48 TT->getDecl()->getName() == "_Bool" || // stdbool.h < C99 49 TT->getDecl()->getName() == "Boolean"; // MacTypes.h
|
H A D | UndefCapturedBlockVarChecker.cpp | 39 if (BR->getDecl() == VD) 71 const VarDecl *VD = VR->getDecl();
|
H A D | CheckSecuritySyntaxOnly.cpp | 201 const NamedDecl *ND = DR->getDecl(); 259 const VarDecl *vdLHS = drLHS ? dyn_cast<VarDecl>(drLHS->getDecl()) : NULL; 260 const VarDecl *vdRHS = drRHS ? dyn_cast<VarDecl>(drRHS->getDecl()) : NULL; 273 const DeclRefExpr *drCond = vdLHS == drInc->getDecl() ? drLHS : drRHS; 279 os << "Variable '" << drCond->getDecl()->getName() 290 BR.EmitBasicReport(AC->getDecl(), 327 BR.EmitBasicReport(AC->getDecl(), 369 BR.EmitBasicReport(AC->getDecl(), 412 BR.EmitBasicReport(AC->getDecl(), 499 BR.EmitBasicReport(AC->getDecl(), [all...] |
H A D | DeadStoresChecker.cpp | 58 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl())) 200 BR.EmitBasicReport(AC->getDecl(), BugType, "Dead store", os.str(), L, R); 225 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) 242 if (DR->getDecl() == VD) 246 if (DR->getDecl() == VD) 267 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { 282 if (VD == dyn_cast<VarDecl>(RhsDR->getDecl())) 353 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { 404 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
|
H A D | DynamicTypePropagation.cpp | 77 recordFixedType(Target, Ctor->getDecl(), C); 93 const Decl *D = Dtor->getDecl(); 165 const Decl *D = C.getLocationContext()->getDecl(); 216 if (DRE->getDecl() == SFCtx->getSelfDecl()) { 217 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(SFCtx->getDecl()))
|
H A D | CStringSyntaxChecker.cpp | 42 return D1->getDecl() == D2->getDecl(); 76 return D->getDecl()->getName();
|
H A D | AnalyzerStatsChecker.cpp | 52 const Decl *D = LC->getDecl(); 60 if (D != P.getLocationContext()->getDecl())
|
H A D | AttrNonNullChecker.cpp | 37 const Decl *FD = Call.getDecl(); 68 if (!UT || !UT->getDecl()->hasAttr<TransparentUnionAttr>())
|