HomeSort by: relevance | last modified time | path
    Searched defs:getDecl (Results 1 - 25 of 28) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/include/clang/AST/
DeclAccessPair.h 41 NamedDecl *getDecl() const {
52 set(getDecl(), AS);
58 operator NamedDecl*() const { return getDecl(); }
59 NamedDecl *operator->() const { return getDecl(); }
UnresolvedSet.h 50 NamedDecl *getDecl() const { return I->getDecl(); }
56 NamedDecl *operator*() const { return getDecl(); }
104 if (I->getDecl() == Old)
GlobalDecl.h 102 const Decl *getDecl() const { return Value.getPointer(); }
105 assert(isa<CXXConstructorDecl>(getDecl()) && "Decl is not a ctor!");
110 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!");
115 assert(isa<VarDecl>(getDecl()) &&
116 cast<VarDecl>(getDecl())->hasGlobalStorage() &&
123 getDecl()) &&
124 !cast<FunctionDecl>(getDecl())->hasAttr<CUDAGlobalAttr>() &&
125 !isa<CXXConstructorDecl>(getDecl()) &&
126 !isa<CXXDestructorDecl>(getDecl()) &&
132 assert(isa<FunctionDecl>(getDecl()) &
    [all...]
TemplateName.h 421 TemplateDecl *getDecl() const { return Template; }
TypeLoc.h 675 return getTypePtr()->getDecl();
686 CXXRecordDecl *getDecl() const {
687 return getTypePtr()->getDecl();
697 UnresolvedUsingTypenameDecl *getDecl() const {
698 return getTypePtr()->getDecl();
711 TagDecl *getDecl() const { return getTypePtr()->getDecl(); }
722 RecordDecl *getDecl() const { return getTypePtr()->getDecl(); }
730 EnumDecl *getDecl() const { return getTypePtr()->getDecl();
    [all...]
DeclTemplate.h 770 static DeclType *getDecl(EntryType *D) {
794 return SETraits::getDecl(&*this->I)->getMostRecentDecl();
963 static DeclType *getDecl(FunctionTemplateSpecializationInfo *I) {
ExprObjC.h 576 ObjCIvarDecl *getDecl() { return D; }
577 const ObjCIvarDecl *getDecl() const { return D; }
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/
AnyCall.h 196 const Decl *getDecl() const {
CallGraph.h 195 Decl *getDecl() const { return FD; }
198 return getDecl()->getAsFunction()->getDefinition();
AnalysisDeclContext.h 106 const Decl *getDecl() const { return D; }
245 const Decl *getDecl() const { return Ctx->getDecl(); }
ProgramPoint.h 565 const Decl *getDecl() const { return static_cast<const Decl *>(getData2()); }
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
Function.h 74 const FunctionDecl *getDecl() const { return F; }
Record.h 49 const RecordDecl *getDecl() const { return Decl; }
51 bool isUnion() const { return getDecl()->isUnion(); }
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
UninitializedObject.h 118 const FieldDecl *getDecl() const {
120 return FR->getDecl();
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
SVals.cpp 67 if (const auto *FD = dyn_cast<FunctionDecl>(CTR->getDecl()))
72 if (const auto *MD = dyn_cast_or_null<CXXMethodDecl>(X->getDecl()))
156 const NamedDecl *nonloc::PointerToMember::getDecl() const {
335 if (CastRes.getDecl())
336 os << "|" << CastRes.getDecl()->getQualifiedNameAsString() << "|";
CallEvent.cpp 111 const RecordDecl *RD = RT->getDecl();
137 if (!getDecl())
163 const auto *FD = dyn_cast_or_null<FunctionDecl>(getDecl());
171 const Decl *D = getDecl();
256 if (const Decl *callee = getDecl())
314 const Decl *D = getDecl();
331 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(getDecl());
412 if (const Decl *D = getDecl()) {
535 const FunctionDecl *D = getDecl();
542 const FunctionDecl *FD = getDecl();
    [all...]
MemRegion.cpp 166 const ObjCIvarDecl *ObjCIvarRegion::getDecl() const { return IVD; }
169 return getDecl()->getType();
173 return QualType(getDecl()->getTypeForDecl(), 0);
177 return QualType(getDecl()->getTypeForDecl(), 0);
181 assert(getDecl() &&
184 return getDecl()->getType();
187 const ParmVarDecl *ParamVarRegion::getDecl() const {
188 const Decl *D = getStackFrame()->getDecl();
279 ProfileRegion(ID, getDecl(), superRegion);
291 ProfileRegion(ID, getDecl(), superRegion)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
MallocOverflowSecurityChecker.cpp 143 static const Decl *getDecl(const DeclRefExpr *DR) { return DR->getDecl(); }
144 static const Decl *getDecl(const MemberExpr *ME) {
153 return getDecl(CheckDR) == getDecl(DR) && Pred(Check);
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
ThreadSafetyCommon.h 158 if (!dyn_cast_or_null<NamedDecl>(AC.getDecl()))
173 V.enterCFG(CFGraph, getDecl(), &CFGraph->getEntry());
255 const NamedDecl *getDecl() const {
256 return dyn_cast<NamedDecl>(ACtx->getDecl());
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
UninitializedValues.cpp 230 const VarDecl *getDecl() const { return vd; }
254 if (const auto *VD = dyn_cast<VarDecl>(DRE->getDecl()))
286 ClassifyRefs(AnalysisDeclContext &AC) : DC(cast<DeclContext>(AC.getDecl())) {}
303 const auto *VD = dyn_cast<VarDecl>(DRE->getDecl());
319 if (DRE && DRE->getDecl() == VD)
497 return ::isTrackedVar(vd, cast<DeclContext>(ac.getDecl()));
501 return ::findVar(ex, cast<DeclContext>(ac.getDecl()));
601 return vd == findVar(output).getDecl() &&
750 reportUse(dr, cast<VarDecl>(dr->getDecl()));
753 vals[cast<VarDecl>(dr->getDecl())] = Initialized
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Serialization/
ASTWriter.h 187 Decl *getDecl() const {
369 const Decl *getDecl() const { return Dcl; }
ASTReader.h 1067 Decl *getDecl() { return D; }
1421 return Reader->GetDecl(Reader->getGlobalDeclID(*Mod, *I));
1835 Decl *GetDecl(serialization::DeclID ID);
1844 return GetDecl(getGlobalDeclID(F, LocalID));
1874 return GetDecl(ReadDeclID(F, R, I));
1884 return cast_or_null<T>(GetDecl(ReadDeclID(F, R, I)));
  /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
CallEvent.h 122 const Decl *getDecl() { return D; }
208 virtual const Decl *getDecl() const {
241 const Decl *D = getDecl();
346 const auto *ND = dyn_cast_or_null<NamedDecl>(getDecl());
497 const FunctionDecl *getDecl() const override {
498 return cast<FunctionDecl>(CallEvent::getDecl());
537 const FunctionDecl *getDecl() const override;
586 const BlockDecl *getDecl() const override {
590 return BR->getDecl();
594 const BlockDecl *BD = getDecl();
    [all...]
MemRegion.h 599 const NamedDecl *getDecl() const {
642 const BlockDecl *getDecl() const {
690 const BlockDecl *getDecl() const { return BC->getDecl(); }
898 virtual const ValueDecl *getDecl() const = 0;
921 const VarDecl *getDecl() const override = 0;
927 return getDecl()->getType();
958 const VarDecl *getDecl() const override { return VD; }
962 return getDecl()->getType();
1009 const ParmVarDecl *getDecl() const override
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
Type.cpp 79 ND = ty->castAs<RecordType>()->getDecl();
81 ND = ty->castAs<EnumType>()->getDecl();
83 ND = ty->castAs<TypedefType>()->getDecl();
559 return RT->getDecl()->isClass();
565 return RT->getDecl()->isStruct();
571 return RT->getDecl()->hasAttr<ObjCBoxableAttr>();
577 return RT->getDecl()->isInterface();
583 RecordDecl *RD = RT->getDecl();
597 return RT->getDecl()->isUnion();
614 return ET->getDecl()->isScoped()
    [all...]

Completed in 57 milliseconds

1 2