/external/clang/include/clang/AST/ |
DeclAccessPair.h | 11 // efficient representation of a pair of a NamedDecl* and an 26 class NamedDecl; 28 /// A POD class for pairing a NamedDecl* with an access specifier. 36 static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) { 42 NamedDecl *getDecl() const { 43 return reinterpret_cast<NamedDecl*>(~Mask & Ptr); 49 void setDecl(NamedDecl *D) { 55 void set(NamedDecl *D, AccessSpecifier AS) { 59 operator NamedDecl*() const { return getDecl(); } 60 NamedDecl *operator->() const { return getDecl(); [all...] |
DeclContextInternals.h | 35 typedef SmallVector<NamedDecl *, 4> DeclsTy; 41 /// \brief The stored data, which will be either a pointer to a NamedDecl, 44 llvm::PointerUnion<NamedDecl*, DeclsAndHasExternalTy> Data; 50 RHS.Data = (NamedDecl *)nullptr; 63 RHS.Data = (NamedDecl *)nullptr; 69 NamedDecl *getAsDecl() const { 70 return Data.dyn_cast<NamedDecl *>(); 90 if (NamedDecl *OldD = getAsDecl()) 96 void setOnlyValue(NamedDecl *ND) { 99 // Make sure that Data is a plain NamedDecl* so we can use its addres [all...] |
UnresolvedSet.h | 30 std::random_access_iterator_tag, NamedDecl *, 31 std::ptrdiff_t, NamedDecl *, NamedDecl *> { 44 NamedDecl *getDecl() const { return I->getDecl(); } 45 void setDecl(NamedDecl *ND) const { return I->setDecl(ND); } 50 NamedDecl *operator*() const { return getDecl(); } 51 NamedDecl *operator->() const { return **this; } 77 void addDecl(NamedDecl *D) { 81 void addDecl(NamedDecl *D, AccessSpecifier AS) { 88 bool replace(const NamedDecl* Old, NamedDecl *New) [all...] |
DependentDiagnostic.h | 31 class NamedDecl; 44 NamedDecl *TargetDecl, 77 NamedDecl *getAccessTarget() const { 82 NamedDecl *getAccessNamingClass() const { 115 NamedDecl *TargetDecl;
|
ASTUnresolvedSet.h | 50 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { 57 bool replace(const NamedDecl *Old, NamedDecl *New, AccessSpecifier AS) { 104 Impl.addDecl(C, reinterpret_cast<NamedDecl*>(ID << 2), AS);
|
ASTMutationListener.h | 27 class NamedDecl; 111 virtual void RedefinedHiddenDefinition(const NamedDecl *D, Module *M) {}
|
Mangle.h | 32 class NamedDecl; 92 bool shouldMangleDeclName(const NamedDecl *D); 93 virtual bool shouldMangleCXXName(const NamedDecl *D) = 0; 97 void mangleName(const NamedDecl *D, raw_ostream &); 98 virtual void mangleCXXName(const NamedDecl *D, raw_ostream &) = 0; 117 const NamedDecl *ID, 135 virtual void mangleSEHFilterExpression(const NamedDecl *EnclosingDecl, 138 virtual void mangleSEHFinallyBlock(const NamedDecl *EnclosingDecl,
|
DeclFriend.h | 43 typedef llvm::PointerUnion<NamedDecl*,TypeSourceInfo*> FriendUnion; 126 NamedDecl *getFriendDecl() const { 127 return Friend.dyn_cast<NamedDecl*>(); 137 if (NamedDecl *ND = getFriendDecl()) {
|
DeclTemplate.h | 49 : private llvm::TrailingObjects<TemplateParameterList, NamedDecl *> { 66 size_t numTrailingObjects(OverloadToken<NamedDecl *>) const { 71 NamedDecl **Params, unsigned NumParams, 78 NamedDecl **Params, 83 typedef NamedDecl** iterator; 86 typedef NamedDecl* const* const_iterator; 88 iterator begin() { return getTrailingObjects<NamedDecl *>(); } 89 const_iterator begin() const { return getTrailingObjects<NamedDecl *>(); } 95 ArrayRef<NamedDecl*> asArray() { 98 ArrayRef<const NamedDecl*> asArray() const [all...] |
CXXInheritance.h | 34 class NamedDecl; 158 std::unique_ptr<NamedDecl *[]> DeclsFound; 171 typedef NamedDecl **decl_iterator;
|
/external/clang/include/clang/Tooling/Core/ |
Lookup.h | 23 class NamedDecl; 42 const NamedDecl *FromDecl,
|
/external/clang/include/clang/Sema/ |
IdentifierResolver.h | 28 class NamedDecl; 43 typedef SmallVector<NamedDecl*, 2> DeclsTy; 48 void AddDecl(NamedDecl *D) { Decls.push_back(D); } 52 void RemoveDecl(NamedDecl *D); 55 void InsertDecl(DeclsTy::iterator Pos, NamedDecl *D) { 70 typedef NamedDecl * value_type; 71 typedef NamedDecl * reference; 72 typedef NamedDecl * pointer; 77 /// 1) A single NamedDecl. (Ptr & 0x1 == 0) 85 /// A single NamedDecl. (Ptr & 0x1 == 0 [all...] |
Lookup.h | 231 bool isHiddenDeclarationVisible(NamedDecl *ND) const { 290 static bool isVisible(Sema &SemaRef, NamedDecl *D) { 302 NamedDecl *getAcceptableDecl(NamedDecl *D) const { 313 static bool isVisibleSlow(Sema &SemaRef, NamedDecl *D); 314 NamedDecl *getAcceptableDeclSlow(NamedDecl *D) const; 367 void addDecl(NamedDecl *D) { 373 void addDecl(NamedDecl *D, AccessSpecifier AS) { 458 NamedDecl *getFoundDecl() const [all...] |
TypoCorrection.h | 42 TypoCorrection(const DeclarationName &Name, NamedDecl *NameDecl, 53 TypoCorrection(NamedDecl *Name, NestedNameSpecifier *NNS = nullptr, 133 NamedDecl *getCorrectionDecl() const { 147 void setCorrectionDecl(NamedDecl *CDecl) { 153 void setCorrectionDecls(ArrayRef<NamedDecl*> Decls) { 158 /// \brief Add the given NamedDecl to the list of NamedDecls that are the 160 void addCorrectionDecl(NamedDecl *CDecl); 172 /// added to the list of the correction's NamedDecl pointers, NULL is added 211 typedef SmallVectorImpl<NamedDecl *>::iterator decl_iterator; 216 typedef SmallVectorImpl<NamedDecl *>::const_iterator const_decl_iterator [all...] |
DelayedDiagnostic.h | 70 NamedDecl *getTargetDecl() const { return Target; } 106 NamedDecl *Target; 127 const NamedDecl *D, 167 const NamedDecl *getDeprecationDecl() const { 214 const NamedDecl *Decl;
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
ModelInjector.h | 39 class NamedDecl; 63 void onBodySynthesis(const NamedDecl *D);
|
/external/clang/lib/AST/ |
DeclFriend.cpp | 33 if (Friend.is<NamedDecl*>()) { 34 NamedDecl *D = Friend.get<NamedDecl*>();
|
Mangle.cpp | 59 static bool isExternC(const NamedDecl *ND) { 66 const NamedDecl *ND) { 98 bool MangleContext::shouldMangleDeclName(const NamedDecl *D) { 117 void MangleContext::mangleName(const NamedDecl *D, raw_ostream &Out) { 187 const NamedDecl *ID, 230 assert((isa<NamedDecl>(DC) || isa<BlockDecl>(DC)) && 231 "expected a NamedDecl or BlockDecl"); 235 assert((isa<TranslationUnitDecl>(DC) || isa<NamedDecl>(DC)) && 236 "expected a TranslationUnitDecl or a NamedDecl"); 241 else if (auto ND = dyn_cast<NamedDecl>(DC)) [all...] |
/external/clang/lib/Sema/ |
IdentifierResolver.cpp | 70 void IdentifierResolver::IdDeclInfo::RemoveDecl(NamedDecl *D) { 142 void IdentifierResolver::AddDecl(NamedDecl *D) { 159 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); 167 void IdentifierResolver::InsertDeclAfter(iterator Pos, NamedDecl *D) { 184 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); 207 void IdentifierResolver::RemoveDecl(NamedDecl *D) { 236 return iterator(static_cast<NamedDecl*>(Ptr)); 258 static DeclMatchKind compareDeclarations(NamedDecl *Existing, NamedDecl *New) [all...] |
/external/clang/tools/libclang/ |
IndexingContext.h | 50 const NamedDecl *Dcl; 381 void indexTypeSourceInfo(TypeSourceInfo *TInfo, const NamedDecl *Parent, 384 void indexTypeLoc(TypeLoc TL, const NamedDecl *Parent, 388 const NamedDecl *Parent, 393 void indexBody(const Stmt *S, const NamedDecl *Parent, 434 bool handleReference(const NamedDecl *D, SourceLocation Loc, CXCursor Cursor, 435 const NamedDecl *Parent, 440 bool handleReference(const NamedDecl *D, SourceLocation Loc, 441 const NamedDecl *Parent, 468 bool handleDecl(const NamedDecl *D [all...] |
IndexTypeSourceInfo.cpp | 20 const NamedDecl *Parent; 24 TypeIndexer(IndexingContext &indexCtx, const NamedDecl *parent, 97 const NamedDecl *Parent, 106 const NamedDecl *Parent, 117 const NamedDecl *Parent,
|
IndexBody.cpp | 20 const NamedDecl *Parent; 26 const NamedDecl *Parent, const DeclContext *DC) 169 void IndexingContext::indexBody(const Stmt *S, const NamedDecl *Parent,
|
/external/clang/lib/Serialization/ |
ASTCommon.h | 88 bool needsAnonymousDeclarationNumber(const NamedDecl *D); 100 auto *ND = dyn_cast_or_null<NamedDecl>(LexicalD);
|
/external/clang/include/clang/Analysis/Analyses/ |
ThreadSafety.h | 150 virtual void handleNoMutexHeld(StringRef Kind, const NamedDecl *D, 163 virtual void handleMutexNotHeld(StringRef Kind, const NamedDecl *D,
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
ObjCSelfInitChecker.cpp | 52 static bool shouldRunOnFunctionOrMethod(const NamedDecl *ND); 173 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>( 200 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>( 213 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>( 241 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>( 269 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>( 304 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>( 386 static bool shouldRunOnFunctionOrMethod(const NamedDecl *ND) {
|