/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Serialization/ |
H A D | ASTCommon.cpp | 210 case Decl::TranslationUnit: 211 case Decl::ExternCContext: 212 case Decl::Namespace: 213 case Decl::LinkageSpec: 217 case Decl::Enum: 218 case Decl::Record: 225 case Decl::CXXRecord: 226 case Decl::ClassTemplateSpecialization: 227 case Decl::ClassTemplatePartialSpecialization: 231 case Decl [all...] |
/freebsd-11.0-release/contrib/llvm/tools/lldb/include/lldb/Symbol/ |
H A D | VerifyDecl.h | 17 void VerifyDecl (clang::Decl *decl);
|
H A D | ClangASTImporter.h | 115 clang::Decl * 118 clang::Decl *decl); 125 clang::Decl * 128 clang::Decl *decl); 131 CompleteDecl (clang::Decl *decl); 149 ResolveDeclOrigin (const clang::Decl *decl, clang::Decl **original_decl, clang::ASTContext **original_ctx) 163 SetDeclOrigin (const clang::Decl *decl, clang::Decl *original_decl); 166 GetDeclMetadata (const clang::Decl *dec [all...] |
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Symbol/ |
H A D | VerifyDecl.cpp | 13 void lldb_private::VerifyDecl (clang::Decl *decl)
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | DeclGroup.cpp | 16 #include "clang/AST/Decl.h" 20 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { 22 unsigned Size = totalSizeToAlloc<Decl *>(NumDecls); 28 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) { 32 getTrailingObjects<Decl *>());
|
H A D | Comment.cpp | 12 #include "clang/AST/Decl.h" 148 Decl::Kind K = CommentDecl->getKind(); 153 case Decl::Function: 154 case Decl::CXXMethod: 155 case Decl::CXXConstructor: 156 case Decl::CXXDestructor: 157 case Decl::CXXConversion: { 169 if (K == Decl::CXXMethod || K == Decl::CXXConstructor || 170 K == Decl [all...] |
H A D | DeclBase.cpp | 10 // This file implements the Decl and DeclContext classes. 18 #include "clang/AST/Decl.h" 44 void Decl::updateOutOfDate(IdentifierInfo &II) const { 49 static_assert(Decl::DeclObjAlignment >= \ 50 llvm::AlignOf<DERIVED##Decl>::Alignment, \ 55 void *Decl::operator new(std::size_t Size, const ASTContext &Context, 60 "Decl won't be misaligned"); 75 void *Decl::operator new(std::size_t Size, const ASTContext &Ctx, 93 Module *Decl::getOwningModuleSlow() const { 98 bool Decl [all...] |
H A D | ASTTypeTraits.cpp | 31 { NKI_None, "Decl" }, 32 #define DECL(DERIVED, BASE) { NKI_##BASE, #DERIVED "Decl" }, 81 ASTNodeKind ASTNodeKind::getFromNode(const Decl &D) { 84 case Decl::DERIVED: return ASTNodeKind(NKI_##DERIVED##Decl); 124 else if (const Decl *D = get<Decl>()) 135 if (const Decl *D = get<Decl>()) 150 if (const Decl * [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | ASTImporter.h | 26 class Decl; 40 typedef llvm::DenseSet<std::pair<Decl *, Decl *> > NonEquivalentDeclSet; 61 llvm::DenseMap<Decl *, Decl *> ImportedDecls; 122 Decl *Import(Decl *FromD); 127 Decl *GetAlreadyImportedOrNull(Decl *FromD); 212 void ImportDefinition(Decl *Fro [all...] |
H A D | ASTFwd.h | 20 class Decl; 21 #define DECL(DERIVED, BASE) class DERIVED##Decl;
|
H A D | DeclVisitor.h | 1 //===--- DeclVisitor.h - Visitor for Decl subclasses ------------*- C++ -*-===// 16 #include "clang/AST/Decl.h" 38 RetTy Visit(PTR(Decl) D) { 41 case Decl::DERIVED: DISPATCH(DERIVED##Decl, DERIVED##Decl); 45 llvm_unreachable("Decl that isn't part of DeclNodes.inc!"); 51 RetTy Visit##DERIVED##Decl(PTR(DERIVED##Decl) D) { DISPATCH(BASE, BASE); } 54 RetTy VisitDecl(PTR(Decl) [all...] |
H A D | DeclGroup.h | 24 class Decl; 28 class DeclGroup final : private llvm::TrailingObjects<DeclGroup, Decl *> { 34 DeclGroup(unsigned numdecls, Decl** decls); 37 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls); 41 Decl*& operator[](unsigned i) { 43 return getTrailingObjects<Decl *>()[i]; 46 Decl* const& operator[](unsigned i) const { 48 return getTrailingObjects<Decl *>()[i]; 56 // non-group case to be valid as a Decl** for iteration. 58 Decl* [all...] |
H A D | DeclBase.h | 10 // This file defines the Decl and DeclContext interfaces. 70 /// Decl - This represents one declaration (or definition), e.g. a variable, 73 /// Note: There are objects tacked on before the *beginning* of Decl 74 /// (and its subclasses) in its Decl::operator new(). Proper alignment 77 class Decl { class in namespace:clang 79 /// \brief Alignment guaranteed when allocating Decl and any subtypes. 82 /// \brief Lists the kind of concrete classes of Decl. 108 /// Decl currently provides 15 bits of IDNS bits. 220 llvm::PointerIntPair<Decl *, 2, unsigned> NextInContextAndBits; 233 /// the DeclContext where the Decl wa 333 Decl(Kind DK, DeclContext *DC, SourceLocation L) function in class:clang::Decl 344 Decl(Kind DK, EmptyShell Empty) function in class:clang::Decl [all...] |
H A D | StmtIterator.h | 27 class Decl; 37 Decl **DGI; 40 Decl **DGE; 64 bool HandleDecl(Decl* D); 71 StmtIteratorBase(Decl **dgi, Decl **dge); 86 StmtIteratorImpl(Decl **dgi, Decl **dge) : StmtIteratorBase(dgi, dge) {} 126 StmtIterator(Decl** dgi, Decl** dg [all...] |
H A D | ASTMutationListener.h | 22 class Decl; 51 virtual void AddedVisibleDecl(const DeclContext *DC, const Decl *D) {} 54 virtual void AddedCXXImplicitMember(const CXXRecordDecl *RD, const Decl *D) {} 102 virtual void DeclarationMarkedUsed(const Decl *D) {} 108 virtual void DeclarationMarkedOpenMPThreadPrivate(const Decl *D) {}
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Frontend/ |
H A D | ASTConsumers.cpp | 54 bool TraverseDecl(Decl *D) { 72 std::string getName(Decl *D) { 77 bool filterMatches(Decl *D) { 80 void print(Decl *D) { 159 void HandleTopLevelSingleDecl(Decl *D); 163 void ASTViewer::HandleTopLevelSingleDecl(Decl *D) { 180 /// DeclContextPrinter - Decl and DeclContext Visualization 201 case Decl::TranslationUnit: 204 case Decl::Namespace: { 210 case Decl [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | FunctionSummary.h | 17 #include "clang/AST/Decl.h" 28 typedef std::deque<Decl*> SetOfDecls; 29 typedef llvm::DenseSet<const Decl*> SetOfConstDecls; 56 typedef llvm::DenseMap<const Decl *, FunctionSummary> MapTy; 60 MapTy::iterator findOrInsertSummary(const Decl *D) { 65 typedef std::pair<const Decl *, FunctionSummary> KVPair; 71 void markMayInline(const Decl *D) { 77 void markShouldNotInline(const Decl *D) { 83 void markReachedMaxBlockCount(const Decl *D) { 87 Optional<bool> mayInline(const Decl * [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | PrettyDeclStackTrace.h | 24 class Decl; 33 Decl *TheDecl; 38 PrettyDeclStackTraceEntry(Sema &S, Decl *D, SourceLocation Loc,
|
H A D | Template.h | 189 const Decl *, llvm::PointerUnion<Decl *, DeclArgumentPack *>, 4> 295 const Decl *D = I->first; 296 llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored = 298 if (I->second.is<Decl *>()) { 299 Stored = I->second.get<Decl *>(); 331 llvm::PointerUnion<Decl *, DeclArgumentPack *> * 332 findInstantiationOf(const Decl *D); 334 void InstantiatedLocal(const Decl *D, Decl *Ins [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/ |
H A D | IssueHash.h | 15 class Decl; 41 llvm::StringRef BugType, const Decl *D, 48 const Decl *D, const LangOptions &LangOpts);
|
/freebsd-11.0-release/contrib/llvm/lib/Transforms/ObjCARC/ |
H A D | ARCRuntimeEntryPoints.h | 124 Constant *getVoidRetI8XEntryPoint(Constant *&Decl, argument 126 if (Decl) 127 return Decl; 136 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); 139 Constant *getI8XRetI8XEntryPoint(Constant *& Decl, argument 142 if (Decl) 143 return Decl; 155 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); 158 Constant *getI8XRetI8XXI8XEntryPoint(Constant *&Decl, argument 160 if (Decl) [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Analysis/ |
H A D | BodyFarm.h | 25 class Decl; 43 typedef llvm::DenseMap<const Decl *, Optional<Stmt *> > BodyMap;
|
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/ |
H A D | PseudoConstantAnalysis.h | 10 // This file tracks the usage of variables in a Decl body to see if they are 33 inline static const Decl *getDecl(const Expr *E);
|
/freebsd-11.0-release/contrib/byacc/test/ |
H A D | btyacc_demo.y | 25 typedef struct Decl { 29 } Decl; 41 Decl *decl; 95 | opt_scope ID CLCL [ Decl *d = lookup($1, $2); 101 [ Decl *d = lookup($1, $2); 206 extern Decl * lookup(Scope *scope, char *id); 208 extern Scope * start_fn_def(Scope *scope, Decl *fn_decl); 209 extern void finish_fn_def(Decl *fn_decl, Code *block); 216 extern Decl * declare(Scope *scope, char *id, Type *type); 217 extern Decl * make_pointe [all...] |
/freebsd-11.0-release/contrib/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugAbbrev.cpp | 48 for (const auto &Decl : Decls) 49 Decl.dump(OS); 56 for (const auto &Decl : Decls) { 57 if (Decl.getCode() == AbbrCode) 58 return &Decl;
|