/external/clang/lib/Serialization/ |
ASTCommon.cpp | 95 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::CXXMethod [all...] |
/external/clang/include/clang/AST/ |
ASTFwd.h | 17 class Decl; 18 #define DECL(DERIVED, BASE) class DERIVED##Decl;
|
DeclGroup.h | 23 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* D [all...] |
DeclVisitor.h | 1 //===--- DeclVisitor.h - Visitor for Decl subclasses ------------*- C++ -*-===// 16 #include "clang/AST/Decl.h" 38 RetTy Visit(PTR(Decl) D) { 40 #define DECL(DERIVED, BASE) \ 41 case Decl::DERIVED: DISPATCH(DERIVED##Decl, DERIVED##Decl); 42 #define ABSTRACT_DECL(DECL) 45 llvm_unreachable("Decl that isn't part of DeclNodes.inc!"); 50 #define DECL(DERIVED, BASE) [all...] |
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); 207 void ImportDefinition(Decl *From); 263 /// Mark the Decl as complete, filling it in as much as possible. 266 virtual void CompleteDecl(Decl* D) [all...] |
DeclBase.h | 10 // This file defines the Decl and DeclContext interfaces. 80 /// Decl - This represents one declaration (or definition), e.g. a variable, 83 class Decl { 85 /// \brief Lists the kind of concrete classes of Decl. 87 #define DECL(DERIVED, BASE) DERIVED, 88 #define ABSTRACT_DECL(DECL) 97 /// decl-derived type that will be filled in later (e.g., by some 111 /// Decl currently provides 15 bits of IDNS bits. 208 llvm::PointerIntPair<Decl *, 2, unsigned> NextInContextAndBits; 221 /// the DeclContext where the Decl was declared [all...] |
ASTMutationListener.h | 22 class Decl; 47 virtual void AddedVisibleDecl(const DeclContext *DC, const Decl *D) {} 50 virtual void AddedCXXImplicitMember(const CXXRecordDecl *RD, const Decl *D) {}
|
/external/clang/lib/Sema/ |
TargetAttributesSema.h | 15 class Decl; 22 virtual bool ProcessDeclAttribute(Scope *scope, Decl *D,
|
/external/clang/include/clang/Sema/ |
PrettyDeclStackTrace.h | 1 //===- PrettyDeclStackTrace.h - Stack trace for decl processing -*- C++ -*-===// 24 class Decl; 33 Decl *TheDecl; 38 PrettyDeclStackTraceEntry(Sema &S, Decl *D, SourceLocation Loc,
|
Template.h | 181 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 *D, Decl *Inst) [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
FunctionSummary.h | 25 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 *D) [all...] |
AnalysisManager.h | 110 CFG *getCFG(Decl const *D) { 115 T *getAnalysis(Decl const *D) { 119 ParentMap &getParentMap(Decl const *D) { 123 AnalysisDeclContext *getAnalysisDeclContext(const Decl *D) {
|
/external/clang/lib/Frontend/ |
ASTConsumers.cpp | 55 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::Enum: [all...] |
/external/clang/lib/Analysis/ |
BodyFarm.h | 25 class Decl; 37 typedef llvm::DenseMap<const Decl *, Optional<Stmt *> > BodyMap;
|
/external/clang/lib/AST/ |
Comment.cpp | 12 #include "clang/AST/Decl.h" 147 Decl::Kind K = CommentDecl->getKind(); 152 case Decl::Function: 153 case Decl::CXXMethod: 154 case Decl::CXXConstructor: 155 case Decl::CXXDestructor: 156 case Decl::CXXConversion: { 169 if (K == Decl::CXXMethod || K == Decl::CXXConstructor || 170 K == Decl::CXXDestructor || K == Decl::CXXConversion) [all...] |
DeclGroup.cpp | 16 #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) {
|
ExternalASTSource.cpp | 25 Decl *ExternalASTSource::GetExternalDecl(uint32_t ID) { 57 bool (*isKindWeWant)(Decl::Kind), 58 SmallVectorImpl<Decl*> &Result) {
|
DeclBase.cpp | 10 // This file implements the Decl and DeclContext classes. 18 #include "clang/AST/Decl.h" 40 #define DECL(DERIVED, BASE) static int n##DERIVED##s = 0; 41 #define ABSTRACT_DECL(DECL) 44 void Decl::updateOutOfDate(IdentifierInfo &II) const { 48 void *Decl::AllocateDeserializedDecl(const ASTContext &Context, 67 Module *Decl::getOwningModuleSlow() const { 72 const char *Decl::getDeclKindName() const { 75 #define DECL(DERIVED, BASE) case DERIVED: return #DERIVED; 76 #define ABSTRACT_DECL(DECL) [all...] |
/external/clang/unittests/AST/ |
ASTTypeTraitsTest.cpp | 27 EXPECT_TRUE(DNT<Decl>().isBaseOf(DNT<VarDecl>())); 28 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); 29 EXPECT_FALSE(DNT<VarDecl>().isBaseOf(DNT<Decl>())); 31 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); 55 EXPECT_EQ("Decl", DNT<Decl>().asStringRef());
|
DeclTest.cpp | 10 // Unit tests for Decl nodes in the AST. 21 TEST(Decl, CleansUpAPValues) {
|
/external/llvm/lib/Transforms/ObjCARC/ |
ARCRuntimeEntryPoints.h | 126 Constant *getVoidRetI8XEntryPoint(Constant *&Decl, 128 if (Decl) 129 return Decl; 138 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); 141 Constant *getI8XRetI8XEntryPoint(Constant *& Decl, 144 if (Decl) 145 return Decl; 157 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); 160 Constant *getI8XRetI8XXI8XEntryPoint(Constant *&Decl, 162 if (Decl) [all...] |
/external/clang/include/clang/Serialization/ |
ASTDeserializationListener.h | 1 //===- ASTDeserializationListener.h - Decl/Type PCH Read Events -*- C++ -*-===// 22 class Decl; 47 /// \brief A decl was deserialized from the AST file. 48 virtual void DeclRead(serialization::DeclID ID, const Decl *D) { }
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
RegistryTest.cpp | 89 Matcher<Decl> Value = constructMatcher( 91 .getTypedMatcher<Decl>(); 102 Matcher<Decl> HasInitializerSimple = 104 .getTypedMatcher<Decl>(); 105 Matcher<Decl> HasInitializerComplex = constructMatcher( 107 .getTypedMatcher<Decl>(); 121 Matcher<Decl> HasParameter = functionDecl(constructMatcher( 153 Matcher<Decl> Var = 154 constructMatcher("varDecl", IsDefinition).getTypedMatcher<Decl>(); 155 Matcher<Decl> Class [all...] |
VariantValueTest.cpp | 31 EXPECT_FALSE(Value.hasTypedMatcher<Decl>()); 54 EXPECT_FALSE(Value.hasTypedMatcher<Decl>()); 61 EXPECT_TRUE(Value.hasTypedMatcher<Decl>()); 63 EXPECT_EQ("Matcher<Decl>", Value.getTypeAsString()); 67 EXPECT_FALSE(Value.hasTypedMatcher<Decl>()); 87 EXPECT_TRUE(Value.hasTypedMatcher<Decl>()); 89 EXPECT_EQ("Matcher<Decl>", Value.getTypeAsString()); 106 .getTypedMatcher<Decl>())); 108 matches("int x;", VariantValue(varDecl()).getTypedMatcher<Decl>())); 110 VariantValue(functionDecl()).getTypedMatcher<Decl>())); [all...] |
/external/clang/include/clang/Analysis/Analyses/ |
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);
|