HomeSort by relevance Sort by last modified time
    Searched refs:Decl (Results 401 - 425 of 1114) sorted by null

<<11121314151617181920>>

  /external/clang/include/clang/AST/
DeclTemplate.h 338 // Construct a template decl with the given name and parameters.
345 // Construct a template decl with name, parameters, and templated element.
347 TemplateParameterList *Params, NamedDecl *Decl)
348 : NamedDecl(DK, DC, L, Name), TemplatedDecl(Decl, false),
361 static bool classof(const Decl *D) { return classofKind(D->getKind()); }
712 // Construct a template decl with name, parameters, and templated element.
715 TemplateParameterList *Params, NamedDecl *Decl)
716 : TemplateDecl(DK, DC, L, Name, Params, Decl), redeclarable_base(C),
814 static bool classof(const Decl *D) { return classofKind(D->getKind()); }
870 NamedDecl *Decl
    [all...]
ExternalASTSource.h 82 /// passes back decl sets as VisibleDeclaration objects.
85 virtual Decl *GetExternalDecl(uint32_t ID);
101 /// \brief Resolve the offset of a statement in the decl stream into
112 /// the decl stream into an array of initializers.
117 /// \brief Resolve the offset of a set of C++ base specifiers in the decl
181 llvm::function_ref<bool(Decl::Kind)> IsKindWeWant,
182 SmallVectorImpl<Decl *> &Result);
187 SmallVectorImpl<Decl *> &Result) {
188 FindExternalLexicalDecls(DC, [](Decl::Kind) { return true; }, Result);
196 SmallVectorImpl<Decl *> &Decls)
    [all...]
Redeclarable.h 32 typedef LazyGenerationalUpdatePtr<const Decl*, Decl*,
41 typedef Decl *Previous;
44 /// we've not yet set the previous decl or there isn't one), or to a known
84 assert(NextIsPrevious() && "decl became non-canonical unexpectedly");
89 assert(NextIsLatest() && "decl became canonical unexpectedly");
104 Decl *getLatestNotUpdated() const {
105 assert(NextIsLatest() && "expected a canonical decl");
123 /// of this same Decl. If NextIsLatest() is true, this is the first
179 /// \brief Iterates through all the redeclarations of the same decl
    [all...]
Decl.h 1 //===--- Decl.h - Classes for representing declarations ---------*- C++ -*-===//
10 // This file defines the Decl subclasses.
80 class TranslationUnitDecl : public Decl, public DeclContext {
97 static bool classof(const Decl *D) { return classofKind(D->getKind()); }
110 : public Decl,
122 : Decl(PragmaComment, TU, CommentLoc), CommentKind(CommentKind) {}
137 static bool classof(const Decl *D) { return classofKind(D->getKind()); }
144 : public Decl,
156 : Decl(PragmaDetectMismatch, TU, Loc), ValueStart(ValueStart) {}
170 static bool classof(const Decl *D) { return classofKind(D->getKind());
    [all...]
  /external/clang/unittests/Tooling/
LookupTest.cpp 17 SmallVector<Decl *, 4> DeclStack;
24 bool TraverseDecl(Decl *D) {
  /external/clang/lib/CodeGen/
ModuleBuilder.cpp 42 /// Use this when emitting decls to block re-entrant decl emission. It will
43 /// emit all deferred decls on scope exit. Set EmitDeferred to false if decl
99 const Decl *GetDeclForMangledName(StringRef MangledName) {
103 const Decl *D = Result.getCanonicalDecl().getDecl();
146 // Make sure to emit all elements of a Decl.
173 if (D->isInIdentifierNamespace(Decl::IDNS_OrdinaryFriend)) {
217 for (Decl *Member : D->decls()) {
228 for (Decl *Member : D->decls()) {
302 const Decl *CodeGenerator::GetDeclForMangledName(llvm::StringRef name) {
  /external/clang/lib/Index/
CodegenNameGenerator.cpp 36 bool writeName(const Decl *D, raw_ostream &OS) {
62 std::string getName(const Decl *D) {
71 std::vector<std::string> getAllManglings(const Decl *D) {
185 bool CodegenNameGenerator::writeName(const Decl *D, raw_ostream &OS) {
189 std::string CodegenNameGenerator::getName(const Decl *D) {
193 std::vector<std::string> CodegenNameGenerator::getAllManglings(const Decl *D) {
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/AST/
Redeclarable.h 31 typedef LazyGenerationalUpdatePtr<const Decl*, Decl*,
40 typedef Decl *Previous;
43 /// we've not yet set the previous decl or there isn't one), or to a known
83 assert(NextIsPrevious() && "decl became non-canonical unexpectedly");
88 assert(NextIsLatest() && "decl became canonical unexpectedly");
103 Decl *getLatestNotUpdated() const {
104 assert(NextIsLatest() && "expected a canonical decl");
122 /// of this same Decl. If NextIsLatest() is true, this is the first
178 /// \brief Iterates through all the redeclarations of the same decl
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/AST/
Redeclarable.h 31 typedef LazyGenerationalUpdatePtr<const Decl*, Decl*,
40 typedef Decl *Previous;
43 /// we've not yet set the previous decl or there isn't one), or to a known
83 assert(NextIsPrevious() && "decl became non-canonical unexpectedly");
88 assert(NextIsLatest() && "decl became canonical unexpectedly");
103 Decl *getLatestNotUpdated() const {
104 assert(NextIsLatest() && "expected a canonical decl");
122 /// of this same Decl. If NextIsLatest() is true, this is the first
178 /// \brief Iterates through all the redeclarations of the same decl
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/AST/
Redeclarable.h 31 typedef LazyGenerationalUpdatePtr<const Decl*, Decl*,
40 typedef Decl *Previous;
43 /// we've not yet set the previous decl or there isn't one), or to a known
83 assert(NextIsPrevious() && "decl became non-canonical unexpectedly");
88 assert(NextIsLatest() && "decl became canonical unexpectedly");
103 Decl *getLatestNotUpdated() const {
104 assert(NextIsLatest() && "expected a canonical decl");
122 /// of this same Decl. If NextIsLatest() is true, this is the first
178 /// \brief Iterates through all the redeclarations of the same decl
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/
Redeclarable.h 31 typedef LazyGenerationalUpdatePtr<const Decl*, Decl*,
40 typedef Decl *Previous;
43 /// we've not yet set the previous decl or there isn't one), or to a known
83 assert(NextIsPrevious() && "decl became non-canonical unexpectedly");
88 assert(NextIsLatest() && "decl became canonical unexpectedly");
103 Decl *getLatestNotUpdated() const {
104 assert(NextIsLatest() && "expected a canonical decl");
122 /// of this same Decl. If NextIsLatest() is true, this is the first
178 /// \brief Iterates through all the redeclarations of the same decl
    [all...]
DeclNodes.inc 21 # define ACCESSSPEC(Type, Base) DECL(Type, Base)
23 ACCESSSPEC(AccessSpec, Decl)
27 # define BLOCK(Type, Base) DECL(Type, Base)
29 BLOCK(Block, Decl)
33 # define CAPTURED(Type, Base) DECL(Type, Base)
35 CAPTURED(Captured, Decl)
39 # define CLASSSCOPEFUNCTIONSPECIALIZATION(Type, Base) DECL(Type, Base)
41 CLASSSCOPEFUNCTIONSPECIALIZATION(ClassScopeFunctionSpecialization, Decl)
45 # define EMPTY(Type, Base) DECL(Type, Base)
47 EMPTY(Empty, Decl)
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/AST/
Redeclarable.h 31 typedef LazyGenerationalUpdatePtr<const Decl*, Decl*,
40 typedef Decl *Previous;
43 /// we've not yet set the previous decl or there isn't one), or to a known
83 assert(NextIsPrevious() && "decl became non-canonical unexpectedly");
88 assert(NextIsLatest() && "decl became canonical unexpectedly");
103 Decl *getLatestNotUpdated() const {
104 assert(NextIsLatest() && "expected a canonical decl");
122 /// of this same Decl. If NextIsLatest() is true, this is the first
178 /// \brief Iterates through all the redeclarations of the same decl
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/AST/
Redeclarable.h 31 typedef LazyGenerationalUpdatePtr<const Decl*, Decl*,
40 typedef Decl *Previous;
43 /// we've not yet set the previous decl or there isn't one), or to a known
83 assert(NextIsPrevious() && "decl became non-canonical unexpectedly");
88 assert(NextIsLatest() && "decl became canonical unexpectedly");
103 Decl *getLatestNotUpdated() const {
104 assert(NextIsLatest() && "expected a canonical decl");
122 /// of this same Decl. If NextIsLatest() is true, this is the first
178 /// \brief Iterates through all the redeclarations of the same decl
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/clang/include/clang/AST/
Redeclarable.h 31 typedef LazyGenerationalUpdatePtr<const Decl*, Decl*,
40 typedef Decl *Previous;
43 /// we've not yet set the previous decl or there isn't one), or to a known
83 assert(NextIsPrevious() && "decl became non-canonical unexpectedly");
88 assert(NextIsLatest() && "decl became canonical unexpectedly");
103 Decl *getLatestNotUpdated() const {
104 assert(NextIsLatest() && "expected a canonical decl");
122 /// of this same Decl. If NextIsLatest() is true, this is the first
178 /// \brief Iterates through all the redeclarations of the same decl
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/
Redeclarable.h 31 typedef LazyGenerationalUpdatePtr<const Decl*, Decl*,
40 typedef Decl *Previous;
43 /// we've not yet set the previous decl or there isn't one), or to a known
83 assert(NextIsPrevious() && "decl became non-canonical unexpectedly");
88 assert(NextIsLatest() && "decl became canonical unexpectedly");
103 Decl *getLatestNotUpdated() const {
104 assert(NextIsLatest() && "expected a canonical decl");
122 /// of this same Decl. If NextIsLatest() is true, this is the first
178 /// \brief Iterates through all the redeclarations of the same decl
    [all...]
DeclNodes.inc 21 # define ACCESSSPEC(Type, Base) DECL(Type, Base)
23 ACCESSSPEC(AccessSpec, Decl)
27 # define BLOCK(Type, Base) DECL(Type, Base)
29 BLOCK(Block, Decl)
33 # define CAPTURED(Type, Base) DECL(Type, Base)
35 CAPTURED(Captured, Decl)
39 # define CLASSSCOPEFUNCTIONSPECIALIZATION(Type, Base) DECL(Type, Base)
41 CLASSSCOPEFUNCTIONSPECIALIZATION(ClassScopeFunctionSpecialization, Decl)
45 # define EMPTY(Type, Base) DECL(Type, Base)
47 EMPTY(Empty, Decl)
    [all...]
  /external/clang/lib/AST/
ASTImporter.cpp 29 public DeclVisitor<ASTNodeImporter, Decl *>,
37 using DeclVisitor<ASTNodeImporter, Decl *>::Visit;
86 void ImportDefinitionIfNeeded(Decl *FromD, Decl *ToD = nullptr);
137 Decl *VisitDecl(Decl *D);
138 Decl *VisitAccessSpecDecl(AccessSpecDecl *D);
139 Decl *VisitTranslationUnitDecl(TranslationUnitDecl *D);
140 Decl *VisitNamespaceDecl(NamespaceDecl *D);
141 Decl *VisitTypedefNameDecl(TypedefNameDecl *D, bool IsAlias)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/Sema/
Sema.h 106 class Decl;
286 // the new decl. If the new decl has external linkage, we will
287 // link it with the hidden decl (which also has external linkage) and
319 /// \brief Generally null except when we temporarily switch decl contexts,
514 llvm::SmallPtrSet<const Decl*, 4> ParsingInitForAutoVars;
714 SmallVector<Decl*,2> WeakTopLevelDecl;
719 /// to lookup file scope declarations in the "ordinary" C decl namespace.
880 Decl *ManglingContextDecl;
900 Decl *ManglingContextDecl
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/Sema/
Sema.h 106 class Decl;
286 // the new decl. If the new decl has external linkage, we will
287 // link it with the hidden decl (which also has external linkage) and
319 /// \brief Generally null except when we temporarily switch decl contexts,
514 llvm::SmallPtrSet<const Decl*, 4> ParsingInitForAutoVars;
714 SmallVector<Decl*,2> WeakTopLevelDecl;
719 /// to lookup file scope declarations in the "ordinary" C decl namespace.
880 Decl *ManglingContextDecl;
900 Decl *ManglingContextDecl
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/Sema/
Sema.h 106 class Decl;
286 // the new decl. If the new decl has external linkage, we will
287 // link it with the hidden decl (which also has external linkage) and
319 /// \brief Generally null except when we temporarily switch decl contexts,
514 llvm::SmallPtrSet<const Decl*, 4> ParsingInitForAutoVars;
714 SmallVector<Decl*,2> WeakTopLevelDecl;
719 /// to lookup file scope declarations in the "ordinary" C decl namespace.
880 Decl *ManglingContextDecl;
900 Decl *ManglingContextDecl
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Sema/
Sema.h 106 class Decl;
286 // the new decl. If the new decl has external linkage, we will
287 // link it with the hidden decl (which also has external linkage) and
319 /// \brief Generally null except when we temporarily switch decl contexts,
514 llvm::SmallPtrSet<const Decl*, 4> ParsingInitForAutoVars;
714 SmallVector<Decl*,2> WeakTopLevelDecl;
719 /// to lookup file scope declarations in the "ordinary" C decl namespace.
880 Decl *ManglingContextDecl;
900 Decl *ManglingContextDecl
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/Sema/
Sema.h 106 class Decl;
286 // the new decl. If the new decl has external linkage, we will
287 // link it with the hidden decl (which also has external linkage) and
319 /// \brief Generally null except when we temporarily switch decl contexts,
514 llvm::SmallPtrSet<const Decl*, 4> ParsingInitForAutoVars;
714 SmallVector<Decl*,2> WeakTopLevelDecl;
719 /// to lookup file scope declarations in the "ordinary" C decl namespace.
880 Decl *ManglingContextDecl;
900 Decl *ManglingContextDecl
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/Sema/
Sema.h 106 class Decl;
286 // the new decl. If the new decl has external linkage, we will
287 // link it with the hidden decl (which also has external linkage) and
319 /// \brief Generally null except when we temporarily switch decl contexts,
514 llvm::SmallPtrSet<const Decl*, 4> ParsingInitForAutoVars;
714 SmallVector<Decl*,2> WeakTopLevelDecl;
719 /// to lookup file scope declarations in the "ordinary" C decl namespace.
880 Decl *ManglingContextDecl;
900 Decl *ManglingContextDecl
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/clang/include/clang/Sema/
Sema.h 106 class Decl;
286 // the new decl. If the new decl has external linkage, we will
287 // link it with the hidden decl (which also has external linkage) and
319 /// \brief Generally null except when we temporarily switch decl contexts,
514 llvm::SmallPtrSet<const Decl*, 4> ParsingInitForAutoVars;
714 SmallVector<Decl*,2> WeakTopLevelDecl;
719 /// to lookup file scope declarations in the "ordinary" C decl namespace.
880 Decl *ManglingContextDecl;
900 Decl *ManglingContextDecl
    [all...]

Completed in 5315 milliseconds

<<11121314151617181920>>