/external/clang/include/clang/AST/ |
H A D | DeclVisitor.h | 1 //===--- DeclVisitor.h - Visitor for Decl subclasses ------------*- C++ -*-===// 16 #include "clang/AST/Decl.h" 31 RetTy Visit(Decl *D) { 34 case Decl::DERIVED: DISPATCH(DERIVED##Decl, DERIVED##Decl); 38 llvm_unreachable("Decl that isn't part of DeclNodes.inc!"); 44 RetTy Visit##DERIVED##Decl(DERIVED##Decl *D) { DISPATCH(BASE, BASE); } 47 RetTy VisitDecl(Decl * [all...] |
H A D | 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* [all...] |
H A D | ASTImporter.h | 26 class Decl; 40 typedef llvm::DenseSet<std::pair<Decl *, Decl *> > NonEquivalentDeclSet; 58 llvm::DenseMap<Decl *, Decl *> ImportedDecls; 119 Decl *Import(Decl *FromD); 204 void ImportDefinition(Decl *From); 260 /// Mark the Decl as complete, filling it in as much as possible. 263 virtual void CompleteDecl(Decl* [all...] |
H A D | DeclBase.h | 10 // This file defines the Decl and DeclContext interfaces. 76 /// Decl - This represents one declaration (or definition), e.g. a variable, 79 class Decl { class in namespace:clang 81 /// \brief Lists the kind of concrete classes of Decl. 107 /// Decl currently provides 15 bits of IDNS bits. 204 llvm::PointerIntPair<Decl *, 2, unsigned> NextInContextAndBits; 217 /// the DeclContext where the Decl was declared. 304 Decl(Kind DK, DeclContext *DC, SourceLocation L) function in class:clang::Decl 315 Decl(Kind DK, EmptyShell Empty) function in class:clang::Decl 325 virtual ~Decl(); [all...] |
H A D | StmtIterator.h | 26 class Decl; 35 union { Decl *decl; Decl **DGI; }; 37 Decl **DGE; 65 bool HandleDecl(Decl* D); 71 StmtIteratorBase(Decl *d, Stmt **s); 73 StmtIteratorBase(Decl **dgi, Decl **dge); 88 StmtIteratorImpl(Decl **dgi, Decl **dg [all...] |
H A D | ASTMutationListener.h | 17 class Decl; 41 virtual void AddedVisibleDecl(const DeclContext *DC, const Decl *D) {} 44 virtual void AddedCXXImplicitMember(const CXXRecordDecl *RD, const Decl *D) {}
|
/external/clang/include/clang/Sema/ |
H A D | Template.h | 182 typedef SmallVector<Decl *, 4> DeclArgumentPack; 189 typedef llvm::DenseMap<const Decl *, 190 llvm::PointerUnion<Decl *, DeclArgumentPack *> > 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...] |
H A D | PrettyDeclStackTrace.h | 24 class Decl; 33 Decl *TheDecl; 38 PrettyDeclStackTraceEntry(Sema &S, Decl *D, SourceLocation Loc,
|
H A D | AnalysisBasedWarnings.h | 22 class Decl; 93 const Decl *D, const BlockExpr *blkExpr);
|
/external/clang/lib/Sema/ |
H A D | TargetAttributesSema.h | 15 class Decl; 22 virtual bool ProcessDeclAttribute(Scope *scope, Decl *D,
|
H A D | TargetAttributesSema.cpp | 24 bool TargetAttributesSema::ProcessDeclAttribute(Scope *scope, Decl *D, 29 static void HandleMSP430InterruptAttr(Decl *d, 63 bool ProcessDeclAttribute(Scope *scope, Decl *D, 74 static void HandleMBlazeInterruptHandlerAttr(Decl *d, const AttributeList &Attr, 89 static void HandleMBlazeSaveVolatilesAttr(Decl *d, const AttributeList &Attr, 109 bool ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr, 123 static void HandleX86ForceAlignArgPointerAttr(Decl *D, 154 DLLImportAttr *Sema::mergeDLLImportAttr(Decl *D, SourceRange Range) { 166 static void HandleDLLImportAttr(Decl *D, const AttributeList &Attr, Sema &S) { 197 DLLExportAttr *Sema::mergeDLLExportAttr(Decl * [all...] |
/external/clang/lib/Frontend/ |
H A D | ASTConsumers.cpp | 60 bool TraverseDecl(Decl *D) { 79 std::string getName(Decl *D) { 84 bool filterMatches(Decl *D) { 145 void HandleTopLevelSingleDecl(Decl *D); 149 void ASTViewer::HandleTopLevelSingleDecl(Decl *D) { 165 /// DeclContextPrinter - Decl and DeclContext Visualization 186 case Decl::TranslationUnit: 189 case Decl::Namespace: { 195 case Decl::Enum: { 204 case Decl [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | FunctionSummary.h | 18 #include "clang/AST/Decl.h" 25 typedef std::deque<Decl*> SetOfDecls; 26 typedef llvm::DenseSet<const Decl*> SetOfConstDecls; 46 typedef llvm::DenseMap<const Decl*, FunctionSummary*> MapTy; 52 MapTy::iterator findOrInsertSummary(const Decl *D) { 57 I = Map.insert(std::pair<const Decl*, FunctionSummary*>(D, DS)).first; 62 void markReachedMaxBlockCount(const Decl* D) { 67 bool hasReachedMaxBlockCount(const Decl* D) { 74 void markVisitedBasicBlock(unsigned ID, const Decl* D, unsigned TotalIDs) { 85 unsigned getNumVisitedBasicBlocks(const Decl* [all...] |
H A D | AnalysisManager.h | 106 CFG *getCFG(Decl const *D) { 111 T *getAnalysis(Decl const *D) { 115 ParentMap &getParentMap(Decl const *D) { 119 AnalysisDeclContext *getAnalysisDeclContext(const Decl *D) {
|
/external/clang/lib/AST/ |
H A D | Comment.cpp | 12 #include "clang/AST/Decl.h" 160 Decl::Kind K = ThisDecl->getKind(); 165 case Decl::Function: 166 case Decl::CXXMethod: 167 case Decl::CXXConstructor: 168 case Decl::CXXDestructor: 169 case Decl::CXXConversion: { 182 if (K == Decl::CXXMethod || K == Decl::CXXConstructor || 183 K == Decl [all...] |
H A D | DeclGroup.cpp | 15 #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 D | DeclBase.cpp | 10 // This file implements the Decl and DeclContext classes. 15 #include "clang/AST/Decl.h" 42 void *Decl::AllocateDeserializedDecl(const ASTContext &Context, 61 const char *Decl::getDeclKindName() const { 70 void Decl::setInvalidDecl(bool Invalid) { 83 #define DECL(DERIVED, BASE) case Decl::DERIVED: return #DERIVED; 89 bool Decl::StatisticsEnabled = false; 90 void Decl::EnableStatistics() { 94 void Decl::PrintStats() { 95 llvm::errs() << "\n*** Decl Stat [all...] |
H A D | ExternalASTSource.cpp | 25 Decl *ExternalASTSource::GetExternalDecl(uint32_t ID) { 57 bool (*isKindWeWant)(Decl::Kind), 58 SmallVectorImpl<Decl*> &Result) {
|
/external/clang/include/clang/Analysis/Visitors/ |
H A D | CFGRecStmtDeclVisitor.h | 21 #include "clang/AST/Decl.h" 26 case Decl::CLASS: \ 27 static_cast<ImplClass*>(this)->Visit##CLASS##Decl( \ 28 static_cast<CLASS##Decl*>(D)); \ 31 #define DEFAULT_DISPATCH(CLASS) void Visit##CLASS##Decl(CLASS##Decl *D) {} 32 #define DEFAULT_DISPATCH_VARDECL(CLASS) void Visit##CLASS##Decl(CLASS##Decl *D)\ 48 Decl *D = *DI; 57 void VisitDecl(Decl * [all...] |
/external/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);
|
/external/clang/include/clang/ASTMatchers/ |
H A D | ASTTypeTraits.h | 18 #include "clang/AST/Decl.h" 51 /// (like \c Stmt and \c Decl) the returned pointer points to the 86 llvm::AlignedCharArrayUnion<Decl*, Stmt*, QualType> Storage; 89 typename llvm::enable_if<llvm::is_base_of<Decl, T> >::type> { 92 return dyn_cast<T>(*reinterpret_cast<Decl*const*>(Storage)); 95 static DynTypedNode create(const Decl &Node) { 98 new (Result.Storage.buffer) const Decl*(&Node); 139 case NT_Decl: return BaseConverter<Decl>::get(Tag, Storage.buffer);
|
/external/clang/lib/CodeGen/ |
H A D | CGDebugInfo.h | 72 llvm::DenseMap<const Decl *, llvm::WeakVH> RegionMap; 112 llvm::DIType getOrCreateFunctionType(const Decl *D, QualType FnType, 125 void CollectCXXMemberFunctions(const CXXRecordDecl *Decl, 130 void CollectCXXFriends(const CXXRecordDecl *Decl, 135 void CollectCXXBases(const CXXRecordDecl *Decl, 156 void CollectRecordFields(const RecordDecl *Decl, llvm::DIFile F, 160 void CollectVTableInfo(const CXXRecordDecl *Decl, 200 void EmitDeclareOfAutoVariable(const VarDecl *Decl, llvm::Value *AI, 212 void EmitDeclareOfArgVariable(const VarDecl *Decl, llvm::Value *AI, 223 void EmitGlobalVariable(llvm::GlobalVariable *GV, const VarDecl *Decl); [all...] |
/external/clang/include/clang/Serialization/ |
H A D | ASTDeserializationListener.h | 1 //===- ASTDeserializationListener.h - Decl/Type PCH Read Events -*- C++ -*-===// 22 class Decl; 45 virtual void DeclRead(serialization::DeclID ID, const Decl *D) { }
|
/external/clang/include/clang/Analysis/ |
H A D | CallGraph.h | 37 typedef llvm::DenseMap<const Decl *, CallGraphNode *> FunctionMapTy; 59 void addToCallGraph(Decl *D) { 64 static bool includeInGraph(const Decl *D); 67 CallGraphNode *getNode(const Decl *) const; 71 CallGraphNode *getOrInsertNode(Decl *); 132 void addNodeForDecl(Decl *D, bool IsGlobal); 135 CallGraphNode *allocateNewNode(Decl *); 144 Decl *FD; 152 CallGraphNode(Decl *D) : FD(D) {} 171 Decl *getDec [all...] |
/external/clang/include/clang/Frontend/ |
H A D | ChainedIncludesSource.h | 42 virtual Decl *GetExternalDecl(uint32_t ID); 50 bool (*isKindWeWant)(Decl::Kind), 51 SmallVectorImpl<Decl*> &Result);
|