HomeSort by relevance Sort by last modified time
    Searched defs:getDecl (Results 1 - 24 of 24) sorted by null

  /external/clang/include/clang/AST/
DeclAccessPair.h 42 NamedDecl *getDecl() const {
53 set(getDecl(), AS);
60 operator NamedDecl*() const { return getDecl(); }
61 NamedDecl *operator->() const { return getDecl(); }
GlobalDecl.h 60 const Decl *getDecl() const { return Value.getPointer(); }
63 assert(isa<CXXConstructorDecl>(getDecl()) && "Decl is not a ctor!");
68 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!");
TemplateName.h 414 TemplateDecl *getDecl() const { return Template; }
UnresolvedSet.h 53 NamedDecl *getDecl() const { return ir->getDecl(); }
58 NamedDecl *operator*() const { return getDecl(); }
127 if (I->getDecl() == Old)
TypeLoc.h 589 return getTypePtr()->getDecl();
600 CXXRecordDecl *getDecl() const {
601 return getTypePtr()->getDecl();
611 UnresolvedUsingTypenameDecl *getDecl() const {
612 return getTypePtr()->getDecl();
625 TagDecl *getDecl() const { return getTypePtr()->getDecl(); }
629 TagDecl *D = getDecl();
640 RecordDecl *getDecl() const { return getTypePtr()->getDecl(); }
    [all...]
ExprObjC.h 490 ObjCIvarDecl *getDecl() { return D; }
491 const ObjCIvarDecl *getDecl() const { return D; }
    [all...]
Expr.h     [all...]
Stmt.h 775 LabelDecl *getDecl() const { return TheDecl; }
    [all...]
Type.h     [all...]
  /external/clang/lib/Analysis/
PseudoConstantAnalysis.cpp 69 const Decl *PseudoConstantAnalysis::getDecl(const Expr *E) {
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())) {
UninitializedValues.cpp 274 const VarDecl *getDecl() const { return vd; }
296 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()))
325 ClassifyRefs(AnalysisDeclContext &AC) : DC(cast<DeclContext>(AC.getDecl())) {}
341 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl());
354 if (DRE && DRE->getDecl() == VD)
462 return ::isTrackedVar(vd, cast<DeclContext>(ac.getDecl()));
466 return ::findVar(ex, cast<DeclContext>(ac.getDecl()));
660 reportUse(dr, cast<VarDecl>(dr->getDecl()));
663 vals[cast<VarDecl>(dr->getDecl())] = Initialized;
666 handler.handleSelfInit(cast<VarDecl>(dr->getDecl()));
    [all...]
  /external/clang/include/clang/Analysis/
CallGraph.h 163 Decl *getDecl() const { return FD; }
AnalysisContext.h 105 const Decl *getDecl() const { return D; }
235 const Decl *getDecl() const { return getAnalysisDeclContext()->getDecl(); }
ProgramPoint.h 510 const Decl *getDecl() const { return static_cast<const Decl *>(getData2()); }
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
CallEvent.h 94 const Decl *getDecl() { return D; }
179 virtual const Decl *getDecl() const {
212 const Decl *D = getDecl();
301 const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(getDecl());
401 virtual const FunctionDecl *getDecl() const {
402 return cast<FunctionDecl>(CallEvent::getDecl());
406 const FunctionDecl *FD = getDecl();
414 return RuntimeDefinition(AD->getDecl());
421 return getDecl()->isVariadic();
451 virtual const FunctionDecl *getDecl() const
    [all...]
MemRegion.h 570 const NamedDecl *getDecl() const {
609 const BlockDecl *getDecl() const {
649 const BlockDecl *getDecl() const { return BC->getDecl(); }
853 const Decl *getDecl() const { return D; }
877 const VarDecl *getDecl() const { return cast<VarDecl>(D); }
883 return getDecl()->getType();
934 const FieldDecl *getDecl() const { return cast<FieldDecl>(D); }
938 return getDecl()->getType();
970 const ObjCIvarDecl *getDecl() const
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
CallEvent.cpp 70 const RecordDecl *RD = RT->getDecl();
87 if (!getDecl())
105 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(getDecl());
179 const Decl *D = getDecl();
221 if (const Decl *D = getDecl()) {
295 const FunctionDecl *D = getDecl();
303 const FunctionDecl *D = getDecl();
313 const FunctionDecl *D = cast<FunctionDecl>(CalleeCtx->getDecl());
323 const FunctionDecl *D = getDecl();
376 const FunctionDecl *SimpleCall::getDecl() const
    [all...]
MemRegion.cpp 199 if (getDecl()->isBitField())
232 const ObjCIvarDecl *ObjCIvarRegion::getDecl() const {
237 return getDecl()->getType();
241 return QualType(getDecl()->getTypeForDecl(), 0);
333 VarRegion::ProfileRegion(ID, getDecl(), superRegion);
418 ProfileRegion(ID, getDecl(), isVirtual(), superRegion);
459 os << "code{" << getDecl()->getDeclName().getAsString() << '}';
481 os << "base{" << superRegion << ',' << getDecl()->getName() << '}';
494 os << superRegion << "->" << *getDecl();
498 os << "ivar{" << superRegion << ',' << *getDecl() << '}';
    [all...]
  /external/clang/include/clang/ASTMatchers/
ASTMatchersInternal.h 456 /// \brief Metafunction to determine if type T has a member called getDecl.
458 struct Default { int getDecl; };
463 // If T::getDecl exists, an ambiguity arises and CheckT will
467 static char (&f(CheckT<int Default::*, &C::getDecl>*))[1];
531 /// \brief If getDecl exists as a member of U, returns whether the inner
532 /// matcher matches Node.getDecl().
537 return matchesDecl(Node.getDecl(), Finder, Builder);
548 return matchesDecl(AsEnum->getDecl(), Finder, Builder);
    [all...]
  /external/clang/include/clang/Serialization/
ASTWriter.h 144 Decl *getDecl() const {
ASTReader.h 497 Decl *getDecl() const {
    [all...]
  /external/clang/lib/AST/
ExprConstant.cpp 874 const ValueDecl *getDecl() const {
888 V = APValue(getDecl(), isDerivedMember(), Path);
    [all...]
Type.cpp 52 ND = ty->getAs<RecordType>()->getDecl();
54 ND = ty->getAs<EnumType>()->getDecl();
56 ND = ty->getAs<TypedefType>()->getDecl();
363 return RT->getDecl()->isClass();
368 return RT->getDecl()->isStruct();
373 return RT->getDecl()->isInterface();
378 return RT->getDecl()->isStruct() || RT->getDecl()->isClass() ||
379 RT->getDecl()->isInterface();
390 return RT->getDecl()->isUnion()
    [all...]
  /external/clang/lib/Sema/
SemaInit.cpp 439 const RecordDecl *RDecl = RType->getDecl();
592 RecordDecl *structDecl = DeclType->getAs<RecordType>()->getDecl();
774 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl();
    [all...]

Completed in 606 milliseconds