HomeSort by relevance Sort by last modified time
    Searched refs:Decl (Results 1 - 25 of 238) sorted by null

1 2 3 4 5 6 7 8 910

  /external/clang/lib/Sema/
TargetAttributesSema.h 15 class Decl;
22 virtual bool ProcessDeclAttribute(Scope *scope, Decl *D,
  /external/clang/include/clang/AST/
DeclVisitor.h 1 //===--- DeclVisitor.h - Visitor for Decl subclasses ------------*- C++ -*-===//
16 #include "clang/AST/Decl.h"
31 RetTy Visit(Decl *D) {
33 #define DECL(DERIVED, BASE) \
34 case Decl::DERIVED: DISPATCH(DERIVED##Decl, DERIVED##Decl);
35 #define ABSTRACT_DECL(DECL)
38 llvm_unreachable("Decl that isn't part of DeclNodes.inc!");
43 #define DECL(DERIVED, BASE)
    [all...]
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...]
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* D)
    [all...]
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 {
81 /// \brief Lists the kind of concrete classes of Decl.
83 #define DECL(DERIVED, BASE) DERIVED,
84 #define ABSTRACT_DECL(DECL)
93 /// decl-derived type that will be filled in later (e.g., by some
107 /// Decl currently provides 15 bits of IDNS bits.
204 llvm::PointerIntPair<Decl *, 2, unsigned> NextInContextAndBits;
217 /// the DeclContext where the Decl was declared
    [all...]
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) {}
DeclFriend.h 37 /// The semantic context of a friend decl is its declaring class.
38 class FriendDecl : public Decl {
63 : Decl(Decl::Friend, DC, L),
71 : Decl(Decl::Friend, Empty), NextFriend() { }
125 static bool classof(const Decl *D) { return classofKind(D->getKind()); }
127 static bool classofKind(Kind K) { return K == Decl::Friend; }
StmtIterator.h 26 class Decl;
35 union { Decl *decl; Decl **DGI; }; member in union:clang::StmtIteratorBase::__anon4863
37 Decl **DGE;
65 bool HandleDecl(Decl* D);
70 StmtIteratorBase(Stmt **s) : stmt(s), decl(0), RawVAPtr(0) {}
71 StmtIteratorBase(Decl *d, Stmt **s);
73 StmtIteratorBase(Decl **dgi, Decl **dge)
    [all...]
  /external/clang/include/clang/Sema/
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 *D, Decl *Inst)
    [all...]
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,
AnalysisBasedWarnings.h 22 class Decl;
93 const Decl *D, const BlockExpr *blkExpr);
  /external/clang/lib/Frontend/
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::Record:
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
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* D)
    [all...]
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/include/clang/Analysis/Visitors/
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 *D)
    [all...]
  /external/clang/lib/AST/
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::CXXDestructor || K == Decl::CXXConversion)
    [all...]
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) {
DeclBase.cpp 10 // This file implements the Decl and DeclContext classes.
15 #include "clang/AST/Decl.h"
38 #define DECL(DERIVED, BASE) static int n##DERIVED##s = 0;
39 #define ABSTRACT_DECL(DECL)
42 void *Decl::AllocateDeserializedDecl(const ASTContext &Context,
61 const char *Decl::getDeclKindName() const {
64 #define DECL(DERIVED, BASE) case DERIVED: return #DERIVED;
65 #define ABSTRACT_DECL(DECL)
70 void Decl::setInvalidDecl(bool Invalid) {
83 #define DECL(DERIVED, BASE) case Decl::DERIVED: return #DERIVED
    [all...]
ExternalASTSource.cpp 25 Decl *ExternalASTSource::GetExternalDecl(uint32_t ID) {
57 bool (*isKindWeWant)(Decl::Kind),
58 SmallVectorImpl<Decl*> &Result) {
  /external/clang/include/clang/Serialization/
ASTDeserializationListener.h 1 //===- ASTDeserializationListener.h - Decl/Type PCH Read Events -*- C++ -*-===//
22 class Decl;
44 /// \brief A decl was deserialized from the AST file.
45 virtual void DeclRead(serialization::DeclID ID, const Decl *D) { }
  /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);
  /external/clang/include/clang/ASTMatchers/
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/
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/Analysis/
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 *getDecl() const { return FD;
    [all...]
  /external/clang/include/clang/Frontend/
ChainedIncludesSource.h 42 virtual Decl *GetExternalDecl(uint32_t ID);
50 bool (*isKindWeWant)(Decl::Kind),
51 SmallVectorImpl<Decl*> &Result);

Completed in 314 milliseconds

1 2 3 4 5 6 7 8 910