Home
last modified time | relevance | path

Searched refs:decl_type (Results 1 – 7 of 7) sorted by relevance

/external/clang/include/clang/AST/
DRedeclarable.h25 template<typename decl_type>
51 DeclLink(PreviousTag, decl_type *D) in DeclLink()
63 decl_type *getNext(const decl_type *D) const { in getNext()
67 return static_cast<decl_type*>(NKL.get<Previous>()); in getNext()
71 const_cast<decl_type *>(D)); in getNext()
74 return static_cast<decl_type*>(Next.get<KnownLatest>().get(D)); in getNext()
77 void setPrevious(decl_type *D) { in setPrevious()
82 void setLatest(decl_type *D) { in setLatest()
104 static DeclLink PreviousDeclLink(decl_type *D) { in PreviousDeclLink()
124 decl_type *First;
[all …]
DDecl.h3745 template<typename decl_type>
3746 void Redeclarable<decl_type>::setPreviousDecl(decl_type *PrevDecl) { in setPreviousDecl()
3758 decl_type *MostRecent = First->getNextRedeclaration(); in setPreviousDecl()
3759 RedeclLink = PreviousDeclLink(cast<decl_type>(MostRecent)); in setPreviousDecl()
3763 static_cast<decl_type*>(this)->IdentifierNamespace |= in setPreviousDecl()
3768 First = static_cast<decl_type*>(this); in setPreviousDecl()
3772 First->RedeclLink.setLatest(static_cast<decl_type*>(this)); in setPreviousDecl()
3774 assert(!isa<NamedDecl>(static_cast<decl_type*>(this)) || in setPreviousDecl()
3775 cast<NamedDecl>(static_cast<decl_type*>(this))->isLinkageValid()); in setPreviousDecl()
DDeclBase.h293 template<typename decl_type> friend class Redeclarable;
DDeclTemplate.h621 template <class decl_type> friend class RedeclarableTemplate;
/external/selinux/libsepol/tests/
Dtest-deps.c138 static void do_deps_modreq_global(int req_met, int b, char *policy, char *decl_type) in do_deps_modreq_global() argument
173 decl = test_find_decl_by_sym(base, SYM_TYPES, decl_type); in do_deps_modreq_global()
220 static void do_deps_modreq_opt(int req_met, int ret_val, int b, char *policy, char *decl_type) in do_deps_modreq_opt() argument
252 decl = test_find_decl_by_sym(base, SYM_TYPES, decl_type); in do_deps_modreq_opt()
/external/mesa3d/src/glsl/
Dast_to_hir.cpp2471 const struct glsl_type *decl_type; in hir() local
2540 decl_type = this->type->specifier->glsl_type(& type_name, state); in hir()
2558 assert(this->type->specifier->structure == NULL || decl_type != NULL in hir()
2561 if (decl_type != NULL) { in hir()
2579 if ((decl_type == NULL) || decl_type->is_void()) { in hir()
2593 var_type = process_array_type(&loc, decl_type, decl->array_size, in hir()
2598 var_type = decl_type; in hir()
3970 const glsl_type *decl_type = in hir() local
3975 const struct glsl_type *field_type = decl_type; in hir()
3978 field_type = process_array_type(&loc, decl_type, decl->array_size, in hir()
/external/clang/test/SemaCXX/
Dcxx98-compat.cpp143 decltype(const_expr) decl_type = 0; // expected-warning {{'decltype' type specifier is incompatible… variable