Searched refs:Decl (Results 1 - 25 of 309) sorted by relevance

1234567891011>>

/external/clang/lib/Serialization/
H A DASTCommon.cpp95 case Decl::TranslationUnit:
96 case Decl::Namespace:
97 case Decl::LinkageSpec:
101 case Decl::Enum:
102 case Decl::Record:
109 case Decl::CXXRecord:
110 case Decl::ClassTemplateSpecialization:
111 case Decl::ClassTemplatePartialSpecialization:
115 case Decl::Function:
116 case Decl
[all...]
/external/lldb/include/lldb/Symbol/
H A DVerifyDecl.h17 void VerifyDecl (clang::Decl *decl);
H A DClangASTImporter.h104 clang::Decl *
107 clang::Decl *decl);
114 clang::Decl *
117 clang::Decl *decl);
120 CompleteDecl (clang::Decl *decl);
135 ResolveDeclOrigin (const clang::Decl *decl, clang::Decl **original_decl, clang::ASTContext **original_ctx)
149 SetDeclOrigin (const clang::Decl *decl, clang::Decl *original_decl);
152 GetDeclMetadata (const clang::Decl *dec
[all...]
/external/lldb/source/Symbol/
H A DVerifyDecl.cpp13 void lldb_private::VerifyDecl (clang::Decl *decl)
/external/clang/include/clang/AST/
H A DDeclGroup.h23 class Decl;
32 Decl *Aligner;
37 DeclGroup(unsigned numdecls, Decl** decls);
40 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls);
44 Decl*& operator[](unsigned i) {
46 return ((Decl**) (this+1))[i];
49 Decl* const& operator[](unsigned i) const {
51 return ((Decl* const*) (this+1))[i];
57 // non-group case to be valid as a Decl** for iteration.
59 Decl*
[all...]
H A DASTFwd.h17 class Decl;
18 #define DECL(DERIVED, BASE) class DERIVED##Decl;
H A DASTImporter.h26 class Decl;
40 typedef llvm::DenseSet<std::pair<Decl *, Decl *> > NonEquivalentDeclSet;
61 llvm::DenseMap<Decl *, Decl *> ImportedDecls;
122 Decl *Import(Decl *FromD);
207 void ImportDefinition(Decl *From);
263 /// Mark the Decl as complete, filling it in as much as possible.
266 virtual void CompleteDecl(Decl*
[all...]
H A DDeclVisitor.h1 //===--- 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 DDeclBase.h10 // This file defines the Decl and DeclContext interfaces.
68 /// Decl - This represents one declaration (or definition), e.g. a variable,
71 class Decl { class in namespace:clang
73 /// \brief Lists the kind of concrete classes of Decl.
99 /// Decl currently provides 15 bits of IDNS bits.
201 llvm::PointerIntPair<Decl *, 2, unsigned> NextInContextAndBits;
214 /// the DeclContext where the Decl was declared.
314 Decl(Kind DK, DeclContext *DC, SourceLocation L) function in class:clang::Decl
325 Decl(Kind DK, EmptyShell Empty) function in class:clang::Decl
335 virtual ~Decl();
[all...]
H A DASTMutationListener.h22 class Decl;
47 virtual void AddedVisibleDecl(const DeclContext *DC, const Decl *D) {}
50 virtual void AddedCXXImplicitMember(const CXXRecordDecl *RD, const Decl *D) {}
103 virtual void DeclarationMarkedUsed(const Decl *D) {}
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DFunctionSummary.h25 class Decl;
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...]
/external/clang/lib/Frontend/
H A DASTConsumers.cpp55 bool TraverseDecl(Decl *D) {
72 std::string getName(Decl *D) {
77 bool filterMatches(Decl *D) {
80 void print(Decl *D) {
151 void HandleTopLevelSingleDecl(Decl *D);
155 void ASTViewer::HandleTopLevelSingleDecl(Decl *D) {
171 /// DeclContextPrinter - Decl and DeclContext Visualization
192 case Decl::TranslationUnit:
195 case Decl::Namespace: {
201 case Decl
[all...]
/external/clang/include/clang/Sema/
H A DPrettyDeclStackTrace.h24 class Decl;
33 Decl *TheDecl;
38 PrettyDeclStackTraceEntry(Sema &S, Decl *D, SourceLocation Loc,
H A DTemplate.h181 typedef SmallVector<Decl *, 4> DeclArgumentPack;
189 const Decl *, llvm::PointerUnion<Decl *, DeclArgumentPack *>, 4>
290 const Decl *D = I->first;
291 llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored =
293 if (I->second.is<Decl *>()) {
294 Stored = I->second.get<Decl *>();
324 llvm::PointerUnion<Decl *, DeclArgumentPack *> *
325 findInstantiationOf(const Decl *D);
327 void InstantiatedLocal(const Decl *
[all...]
/external/clang/lib/AST/
H A DDeclGroup.cpp16 #include "clang/AST/Decl.h"
20 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) {
22 unsigned Size = sizeof(DeclGroup) + sizeof(Decl*) * NumDecls;
28 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) {
H A DComment.cpp12 #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: {
170 if (K == Decl::CXXMethod || K == Decl::CXXConstructor ||
171 K == Decl
[all...]
H A DDeclBase.cpp10 // This file implements the Decl and DeclContext classes.
18 #include "clang/AST/Decl.h"
44 void Decl::updateOutOfDate(IdentifierInfo &II) const {
48 void *Decl::operator new(std::size_t Size, const ASTContext &Context,
66 void *Decl::operator new(std::size_t Size, const ASTContext &Ctx,
72 Module *Decl::getOwningModuleSlow() const {
77 const char *Decl::getDeclKindName() const {
86 void Decl::setInvalidDecl(bool Invalid) {
100 #define DECL(DERIVED, BASE) case Decl::DERIVED: return #DERIVED;
106 bool Decl
[all...]
H A DExternalASTSource.cpp27 SmallVectorImpl<Decl *> &Decls) {}
29 void ExternalASTSource::CompleteRedeclChain(const Decl *D) {}
53 Decl *ExternalASTSource::GetExternalDecl(uint32_t ID) {
85 bool (*isKindWeWant)(Decl::Kind),
86 SmallVectorImpl<Decl*> &Result) {
H A DASTTypeTraits.cpp31 { NKI_None, "Decl" },
32 #define DECL(DERIVED, BASE) { NKI_##BASE, #DERIVED "Decl" },
77 else if (const Decl *D = get<Decl>())
88 if (const Decl *D = get<Decl>())
103 if (const Decl *D = get<Decl>())
/external/llvm/lib/Transforms/ObjCARC/
H A DARCRuntimeEntryPoints.h126 Constant *getVoidRetI8XEntryPoint(Constant *&Decl, argument
128 if (Decl)
129 return Decl;
138 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
141 Constant *getI8XRetI8XEntryPoint(Constant *& Decl, argument
144 if (Decl)
145 return Decl;
157 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
160 Constant *getI8XRetI8XXI8XEntryPoint(Constant *&Decl, argument
162 if (Decl)
[all...]
/external/clang/include/clang/CodeGen/
H A DModuleBuilder.h30 class Decl;
37 virtual const Decl *GetDeclForMangledName(llvm::StringRef MangledName) = 0;
/external/clang/lib/Analysis/
H A DBodyFarm.h25 class Decl;
42 typedef llvm::DenseMap<const Decl *, Optional<Stmt *> > BodyMap;
/external/clang/include/clang/Analysis/Analyses/
H A DPseudoConstantAnalysis.h10 // 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);
/external/clang/unittests/AST/
H A DDeclTest.cpp10 // Unit tests for Decl nodes in the AST.
21 TEST(Decl, CleansUpAPValues) {
/external/llvm/lib/DebugInfo/
H A DDWARFDebugAbbrev.cpp48 for (const auto &Decl : Decls)
49 Decl.dump(OS);
56 for (const auto &Decl : Decls) {
57 if (Decl.getCode() == AbbrCode)
58 return &Decl;

Completed in 3614 milliseconds

1234567891011>>