/external/clang/include/clang/AST/ |
H A D | 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 *operato [all...] |
H A D | 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* s [all...] |
H A D | UnresolvedSet.h | 48 typedef NamedDecl *value_type; 49 typedef NamedDecl **pointer; 50 typedef NamedDecl *reference; 53 NamedDecl *getDecl() const { return ir->getDecl(); } 54 void setDecl(NamedDecl *ND) const { return ir->setDecl(ND); } 59 NamedDecl *operator*() const { return getDecl(); } 115 void addDecl(NamedDecl *D) { 119 void addDecl(NamedDecl *D, AccessSpecifier AS) { 126 bool replace(const NamedDecl* Old, NamedDecl *Ne [all...] |
H A D | 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);
|
H A D | DependentDiagnostic.h | 31 class NamedDecl; 44 NamedDecl *TargetDecl, 77 NamedDecl *getAccessTarget() const { 82 NamedDecl *getAccessNamingClass() const { 115 NamedDecl *TargetDecl;
|
H A D | DeclFriend.h | 43 typedef llvm::PointerUnion<NamedDecl*,TypeSourceInfo*> FriendUnion; 126 NamedDecl *getFriendDecl() const { 127 return Friend.dyn_cast<NamedDecl*>(); 137 if (NamedDecl *ND = getFriendDecl()) {
|
H A D | 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,
|
H A D | DeclTemplate.h | 63 NamedDecl **Params, unsigned NumParams, 70 NamedDecl **Params, 75 typedef NamedDecl** iterator; 78 typedef NamedDecl* const* const_iterator; 80 iterator begin() { return reinterpret_cast<NamedDecl **>(this + 1); } 82 return reinterpret_cast<NamedDecl * const *>(this + 1); 89 ArrayRef<NamedDecl*> asArray() { 90 return ArrayRef<NamedDecl*>(begin(), size()); 92 ArrayRef<const NamedDecl*> asArray() const { 93 return ArrayRef<const NamedDecl*>(begi [all...] |
/external/clang/include/clang/Sema/ |
H A D | 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 [all...] |
H A D | Lookup.h | 289 static bool isVisible(Sema &SemaRef, NamedDecl *D) { 304 NamedDecl *getAcceptableDecl(NamedDecl *D) const { 315 static bool isVisibleSlow(Sema &SemaRef, NamedDecl *D); 316 NamedDecl *getAcceptableDeclSlow(NamedDecl *D) const; 369 void addDecl(NamedDecl *D) { 375 void addDecl(NamedDecl *D, AccessSpecifier AS) { 453 NamedDecl *getFoundDecl() const { 460 NamedDecl *getRepresentativeDec [all...] |
H A D | TypoCorrection.h | 41 TypoCorrection(const DeclarationName &Name, NamedDecl *NameDecl, 52 TypoCorrection(NamedDecl *Name, NestedNameSpecifier *NNS = nullptr, 132 NamedDecl *getCorrectionDecl() const { 146 void setCorrectionDecl(NamedDecl *CDecl) { 152 void setCorrectionDecls(ArrayRef<NamedDecl*> Decls) { 157 /// \brief Add the given NamedDecl to the list of NamedDecls that are the 159 void addCorrectionDecl(NamedDecl *CDecl); 171 /// added to the list of the correction's NamedDecl pointers, NULL is added 211 typedef SmallVectorImpl<NamedDecl *>::iterator decl_iterator; 216 typedef SmallVectorImpl<NamedDecl *> [all...] |
H A D | ExternalSemaSource.h | 76 llvm::DenseMap<NamedDecl*, SourceLocation> &Undefined); 143 SmallVectorImpl<NamedDecl *> &Decls) {}
|
H A D | 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/AST/ |
H A D | DeclFriend.cpp | 33 if (Friend.is<NamedDecl*>()) { 34 NamedDecl *D = Friend.get<NamedDecl*>();
|
H A D | Mangle.cpp | 58 static bool isExternC(const NamedDecl *ND) { 65 const NamedDecl *ND) { 93 bool MangleContext::shouldMangleDeclName(const NamedDecl *D) { 112 void MangleContext::mangleName(const NamedDecl *D, raw_ostream &Out) { 173 const NamedDecl *ID, 218 const NamedDecl *ND = cast<NamedDecl>(DC);
|
/external/clang/lib/Sema/ |
H A D | IdentifierResolver.cpp | 70 void IdentifierResolver::IdDeclInfo::RemoveDecl(NamedDecl *D) { 139 void IdentifierResolver::AddDecl(NamedDecl *D) { 156 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); 164 void IdentifierResolver::InsertDeclAfter(iterator Pos, NamedDecl *D) { 181 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); 204 void IdentifierResolver::RemoveDecl(NamedDecl *D) { 233 return iterator(static_cast<NamedDecl*>(Ptr)); 255 static DeclMatchKind compareDeclarations(NamedDecl *Existin [all...] |
/external/clang/tools/libclang/ |
H A D | IndexingContext.h | 47 const NamedDecl *Dcl; 378 void indexTypeSourceInfo(TypeSourceInfo *TInfo, const NamedDecl *Parent, 381 void indexTypeLoc(TypeLoc TL, const NamedDecl *Parent, 385 const NamedDecl *Parent, 390 void indexBody(const Stmt *S, const NamedDecl *Parent, 431 bool handleReference(const NamedDecl *D, SourceLocation Loc, CXCursor Cursor, 432 const NamedDecl *Parent, 437 bool handleReference(const NamedDecl *D, SourceLocation Loc, 438 const NamedDecl *Parent, 465 bool handleDecl(const NamedDecl * [all...] |
H A D | 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,
|
/external/clang/examples/PrintFunctionNames/ |
H A D | PrintFunctionNames.cpp | 29 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D))
|
/external/lldb/include/lldb/Expression/ |
H A D | ClangASTSource.h | 431 llvm::SmallVectorImpl<clang::NamedDecl*> &m_decls; ///< The list of declarations already constructed 462 llvm::SmallVectorImpl<clang::NamedDecl*> &decls, 480 clang::NamedDecl *AddVarDecl(const ClangASTType &type); 489 clang::NamedDecl *AddFunDecl(const ClangASTType &type); 496 clang::NamedDecl *AddGenericFunDecl(); 505 clang::NamedDecl *AddTypeDecl(const ClangASTType &clang_type); 519 /// Add a NamedDecl to the list of results. 522 /// The NamedDecl, usually returned as the result 525 void AddNamedDecl (clang::NamedDecl *decl);
|
H A D | ClangExpressionDeclMap.h | 137 AddPersistentVariable (const clang::NamedDecl *decl, 166 AddValueToStruct (const clang::NamedDecl *decl, 235 GetStructElement (const clang::NamedDecl *&decl, 256 GetFunctionInfo (const clang::NamedDecl *decl,
|
/external/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafety.h | 146 virtual void handleNoMutexHeld(StringRef Kind, const NamedDecl *D, 159 virtual void handleMutexNotHeld(StringRef Kind, const NamedDecl *D,
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ObjCSelfInitChecker.cpp | 52 static bool shouldRunOnFunctionOrMethod(const NamedDecl *ND); 174 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>( 201 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>( 214 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>( 242 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>( 270 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>( 305 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>( 387 static bool shouldRunOnFunctionOrMethod(const NamedDecl *ND) {
|
/external/clang/unittests/AST/ |
H A D | NamedDeclPrinterTest.cpp | 1 //===- unittests/AST/NamedDeclPrinterTest.cpp --- NamedDecl printer tests -===// 10 // This file contains tests for NamedDecl::printQualifiedName(). 41 const NamedDecl *ND = Result.Nodes.getNodeAs<NamedDecl>("id");
|
/external/lldb/source/Symbol/ |
H A D | ClangASTImporter.cpp | 94 if (NamedDecl *named_decl = dyn_cast<NamedDecl>(decl)) 122 std::set<NamedDecl *> decls_to_deport; 123 std::set<NamedDecl *> decls_already_deported; 158 std::set<NamedDecl *> decls_to_deport; 159 std::set<NamedDecl *> decls_already_deported; 454 ClangASTImporter::Minion::InitDeportWorkQueues (std::set<clang::NamedDecl *> *decls_to_deport, 455 std::set<clang::NamedDecl *> *decls_already_deported) 474 NamedDecl *decl = *m_decls_to_deport->begin(); 585 if (NamedDecl *from_named_dec [all...] |