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

References

gen/tools/clang/include/clang/AST/AttrImpl.inc
10479 TypeNonNullAttr *TypeNonNullAttr::clone(ASTContext &C) const {
10480   auto *A = new (C) TypeNonNullAttr(C, *this);
10480   auto *A = new (C) TypeNonNullAttr(C, *this);
12018     return cast<TypeNonNullAttr>(this)->getSpelling();
12598     return cast<TypeNonNullAttr>(this)->clone(C);
13178     return cast<TypeNonNullAttr>(this)->printPretty(OS, Policy);
gen/tools/clang/include/clang/AST/AttrVisitor.inc
 1055   bool TraverseTypeNonNullAttr(TypeNonNullAttr *A);
 1056   bool VisitTypeNonNullAttr(TypeNonNullAttr *A) {
 3710 bool VISITORCLASS<Derived>::TraverseTypeNonNullAttr(TypeNonNullAttr *A) {
 4478       return getDerived().TraverseTypeNonNullAttr(cast<TypeNonNullAttr>(A));
gen/tools/clang/include/clang/AST/Attrs.inc
14130   static TypeNonNullAttr *CreateImplicit(ASTContext &Ctx, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
14131     auto *A = new (Ctx) TypeNonNullAttr(Ctx, CommonInfo);
14131     auto *A = new (Ctx) TypeNonNullAttr(Ctx, CommonInfo);
14138   static TypeNonNullAttr *Create(ASTContext &Ctx, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
14139     auto *A = new (Ctx) TypeNonNullAttr(Ctx, CommonInfo);
14139     auto *A = new (Ctx) TypeNonNullAttr(Ctx, CommonInfo);
14145   static TypeNonNullAttr *CreateImplicit(ASTContext &Ctx, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
14149   static TypeNonNullAttr *Create(ASTContext &Ctx, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
14159   TypeNonNullAttr *clone(ASTContext &C) const;
gen/tools/clang/include/clang/Sema/AttrTemplateInstantiate.inc
 1240       const auto *A = cast<TypeNonNullAttr>(At);
 1240       const auto *A = cast<TypeNonNullAttr>(At);
gen/tools/clang/include/clang/Serialization/AttrPCHRead.inc
 2316     New = new (Context) TypeNonNullAttr(Context, Info);
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/lib/AST/TypeLoc.cpp
  414     if (A && (isa<TypeNullableAttr>(A) || isa<TypeNonNullAttr>(A) ||
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/Sema/SemaType.cpp
 3969 static AttrT *createSimpleAttr(ASTContext &Ctx, ParsedAttr &AL) {
 3971   return ::new (Ctx) AttrT(Ctx, AL);
 3978     return createSimpleAttr<TypeNonNullAttr>(Ctx, Attr);
usr/include/c++/7.4.0/type_traits
 1558     { typedef _Tp     type; };
 1580     { typedef _Tp const     type; };