reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/tools/clang/include/clang/AST/AttrImpl.inc
 2784 ConstInitAttr *ConstInitAttr::clone(ASTContext &C) const {
 2785   auto *A = new (C) ConstInitAttr(C, *this);
 2785   auto *A = new (C) ConstInitAttr(C, *this);
11626     return cast<ConstInitAttr>(this)->getSpelling();
12206     return cast<ConstInitAttr>(this)->clone(C);
12786     return cast<ConstInitAttr>(this)->printPretty(OS, Policy);
gen/tools/clang/include/clang/AST/AttrTextNodeDump.inc
  169   void VisitConstInitAttr(const ConstInitAttr *A) {
gen/tools/clang/include/clang/AST/AttrVisitor.inc
  271   bool TraverseConstInitAttr(ConstInitAttr *A);
  272   bool VisitConstInitAttr(ConstInitAttr *A) {
 1821 bool VISITORCLASS<Derived>::TraverseConstInitAttr(ConstInitAttr *A) {
 4086       return getDerived().TraverseConstInitAttr(cast<ConstInitAttr>(A));
gen/tools/clang/include/clang/AST/Attrs.inc
 3646   static ConstInitAttr *CreateImplicit(ASTContext &Ctx, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
 3647     auto *A = new (Ctx) ConstInitAttr(Ctx, CommonInfo);
 3647     auto *A = new (Ctx) ConstInitAttr(Ctx, CommonInfo);
 3654   static ConstInitAttr *Create(ASTContext &Ctx, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
 3655     auto *A = new (Ctx) ConstInitAttr(Ctx, CommonInfo);
 3655     auto *A = new (Ctx) ConstInitAttr(Ctx, CommonInfo);
 3659   static ConstInitAttr *CreateImplicit(ASTContext &Ctx, SourceRange Range, AttributeCommonInfo::Syntax Syntax, ConstInitAttr::Spelling S = static_cast<Spelling>(SpellingNotCalculated)) {
 3659   static ConstInitAttr *CreateImplicit(ASTContext &Ctx, SourceRange Range, AttributeCommonInfo::Syntax Syntax, ConstInitAttr::Spelling S = static_cast<Spelling>(SpellingNotCalculated)) {
 3663   static ConstInitAttr *Create(ASTContext &Ctx, SourceRange Range, AttributeCommonInfo::Syntax Syntax, ConstInitAttr::Spelling S = static_cast<Spelling>(SpellingNotCalculated)) {
 3663   static ConstInitAttr *Create(ASTContext &Ctx, SourceRange Range, AttributeCommonInfo::Syntax Syntax, ConstInitAttr::Spelling S = static_cast<Spelling>(SpellingNotCalculated)) {
 3673   ConstInitAttr *clone(ASTContext &C) const;
gen/tools/clang/include/clang/Sema/AttrTemplateInstantiate.inc
  342       const auto *A = cast<ConstInitAttr>(At);
  342       const auto *A = cast<ConstInitAttr>(At);
gen/tools/clang/include/clang/Serialization/AttrPCHRead.inc
  628     New = new (Context) ConstInitAttr(Context, Info);
gen/tools/clang/include/clang/Serialization/AttrPCHWrite.inc
  473     const auto *SA = cast<ConstInitAttr>(A);
  473     const auto *SA = cast<ConstInitAttr>(A);
include/llvm/ADT/STLExtras.h
   75       typename std::add_pointer<typename std::add_const<T>::type>::type;
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
tools/clang/include/clang/AST/AttrIterator.h
   47     while (!isa<SpecificAttr>(*Current))
   52     while (Current != I && !isa<SpecificAttr>(*Current))
   57   using value_type = SpecificAttr *;
   58   using reference = SpecificAttr *;
   59   using pointer = SpecificAttr *;
   68     return cast<SpecificAttr>(*Current);
  101 inline specific_attr_iterator<SpecificAttr, Container>
  106 inline specific_attr_iterator<SpecificAttr, Container>
  113   return specific_attr_begin<SpecificAttr>(container) !=
  114           specific_attr_end<SpecificAttr>(container);
  117 inline SpecificAttr *getSpecificAttr(const Container& container) {
  118   specific_attr_iterator<SpecificAttr, Container> i =
  119       specific_attr_begin<SpecificAttr>(container);
  120   if (i != specific_attr_end<SpecificAttr>(container))
tools/clang/include/clang/AST/DeclBase.h
  517     Vec.erase(std::remove_if(Vec.begin(), Vec.end(), isa<T, Attr*>), Vec.end());
  538   template<typename T> T *getAttr() const {
  539     return hasAttrs() ? getSpecificAttr<T>(getAttrs()) : nullptr;
  543     return hasAttrs() && hasSpecificAttr<T>(getAttrs());
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
  334     if (VD->hasAttr<ConstInitAttr>())
tools/clang/lib/Sema/SemaDecl.cpp
 2716                                      const ConstInitAttr *CIAttr,
 2784   const auto *OldConstInit = Old->getAttr<ConstInitAttr>();
 2784   const auto *OldConstInit = Old->getAttr<ConstInitAttr>();
 2785   const auto *NewConstInit = New->getAttr<ConstInitAttr>();
 2785   const auto *NewConstInit = New->getAttr<ConstInitAttr>();
 2811         NewVD->dropAttr<ConstInitAttr>();
 6896       NewVD->addAttr(ConstInitAttr::Create(
 6898           AttributeCommonInfo::AS_Keyword, ConstInitAttr::Keyword_constinit));
12512     if (!var->isConstexpr() && GlobalStorage && var->hasAttr<ConstInitAttr>()) {
12517         auto *Attr = var->getAttr<ConstInitAttr>();
12517         auto *Attr = var->getAttr<ConstInitAttr>();
tools/clang/lib/Sema/SemaDeclAttr.cpp
  404   D->addAttr(::new (S.Context) AttrType(S.Context, CI));
 6821     handleSimpleAttribute<ConstInitAttr>(S, D, AL);
usr/include/c++/7.4.0/type_traits
 1558     { typedef _Tp     type; };
 1580     { typedef _Tp const     type; };