|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
gen/tools/clang/include/clang/AST/DeclNodes.inc 23 ACCESSSPEC(AccessSpec, Decl)
References
include/llvm/ADT/STLExtras.h 75 typename std::add_pointer<typename std::add_const<T>::type>::type;
include/llvm/Support/Casting.h 57 static inline bool doit(const From &Val) {
58 return To::classof(&Val);
104 static inline bool doit(const From *Val) {
106 return isa_impl<To, From>::doit(*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) {
263 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*,
265 return cast_convert_val<X, Y*,
266 typename simplify_type<Y*>::SimpleType>::doit(Val);
305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
309 return cast<X>(Val);
337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
tools/clang/include/clang/AST/ASTTypeTraits.h 65 return ASTNodeKind(KindToKindId<T>::Id);
65 return ASTNodeKind(KindToKindId<T>::Id);
65 return ASTNodeKind(KindToKindId<T>::Id);
tools/clang/include/clang/AST/DeclBase.h 2536 static ::clang::DeclContext *doit(const FromTy *Val) {
2537 return FromTy::castToDeclContext(Val);
tools/clang/include/clang/AST/DeclCXX.h 118 static AccessSpecDecl *Create(ASTContext &C, AccessSpecifier AS,
121 return new (C, DC) AccessSpecDecl(AS, DC, ASLoc, ColonLoc);
124 static AccessSpecDecl *CreateDeserialized(ASTContext &C, unsigned ID);
tools/clang/include/clang/AST/JSONNodeDumper.h 242 void VisitAccessSpecDecl(const AccessSpecDecl *ASD);
tools/clang/include/clang/AST/TextNodeDumper.h 334 void VisitAccessSpecDecl(const AccessSpecDecl *D);
tools/clang/include/clang/ASTMatchers/ASTMatchers.h 468 extern const internal::VariadicDynCastAllOfMatcher<Decl, AccessSpecDecl>
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h 436 return canConvertTo(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
445 template <typename T> Matcher<T> convertTo() const {
447 return unconditionalConvertTo<T>();
499 explicit Matcher(MatcherInterface<T> *Implementation)
507 typename std::enable_if<std::is_base_of<From, T>::value &&
508 !std::is_same<From, T>::value>::type * = nullptr)
520 std::is_same<T, QualType>::value &&
529 static_assert(std::is_base_of<To, T>::value, "Invalid dynCast call.");
534 bool matches(const T &Node,
581 return Other.dynCastTo(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
1243 operator Matcher<T>() const {
1245 ast_type_traits::ASTNodeKind::getFromNodeKind<T>())
1246 .template unconditionalConvertTo<T>();
1255 class BindableMatcher : public Matcher<T> {
1257 explicit BindableMatcher(const Matcher<T> &M) : Matcher<T>(M) {}
1258 explicit BindableMatcher(MatcherInterface<T> *Implementation)
1265 Matcher<T> bind(StringRef ID) const {
1370 inline Matcher<T> DynTypedMatcher::unconditionalConvertTo() const {
1376 BindableMatcher<T> makeAllOfComposite(
1377 ArrayRef<const Matcher<T> *> InnerMatchers) {
1388 using PI = llvm::pointee_iterator<const Matcher<T> *const *>;
1395 ast_type_traits::ASTNodeKind::getFromNodeKind<T>(),
1397 .template unconditionalConvertTo<T>());
1408 ArrayRef<const Matcher<InnerT> *> InnerMatchers) {
1557 : public VariadicFunction<BindableMatcher<SourceT>, Matcher<TargetT>,
1558 makeDynCastAllOfComposite<SourceT, TargetT>> {
tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h 199 ast_matchers::internal::Matcher<T> getTypedMatcher() const {
202 ->template convertTo<T>();
227 : MatcherOps(ast_type_traits::ASTNodeKind::getFromNodeKind<T>()) {}
228 typedef ast_matchers::internal::Matcher<T> MatcherT;
232 return DynTypedMatcher(Matcher.convertTo<T>());
tools/clang/include/clang/Sema/Sema.h 3717 bool ProcessAccessDeclAttributeList(AccessSpecDecl *ASDecl,
tools/clang/lib/AST/ASTImporter.cpp 217 -> decltype(ToDeclT::Create(std::forward<Args>(args)...)) {
218 return ToDeclT::Create(std::forward<Args>(args)...);
229 LLVM_NODISCARD bool GetImportedOrCreateDecl(ToDeclT *&ToD, FromDeclT *FromD,
229 LLVM_NODISCARD bool GetImportedOrCreateDecl(ToDeclT *&ToD, FromDeclT *FromD,
234 CallOverloadedCreateFun<ToDeclT> OC;
256 GetImportedOrCreateSpecialDecl(ToDeclT *&ToD, CreateFunT CreateFun,
257 FromDeclT *FromD, Args &&... args) {
262 ToD = cast_or_null<ToDeclT>(Importer.GetAlreadyImportedOrNull(FromD));
451 ExpectedDecl VisitAccessSpecDecl(AccessSpecDecl *D);
2123 ExpectedDecl ASTNodeImporter::VisitAccessSpecDecl(AccessSpecDecl *D) {
2137 AccessSpecDecl *ToD;
tools/clang/lib/AST/DeclCXX.cpp 58 AccessSpecDecl *AccessSpecDecl::CreateDeserialized(ASTContext &C, unsigned ID) {
59 return new (C, ID) AccessSpecDecl(EmptyShell());
tools/clang/lib/AST/DeclPrinter.cpp 427 if (isa<AccessSpecDecl>(*D)) {
tools/clang/lib/AST/JSONNodeDumper.cpp 888 void JSONNodeDumper::VisitAccessSpecDecl(const AccessSpecDecl *ASD) {
tools/clang/lib/AST/ODRHash.cpp 310 void VisitAccessSpecDecl(const AccessSpecDecl *D) {
312 Inherited::VisitAccessSpecDecl(D);
tools/clang/lib/AST/TextNodeDumper.cpp 1781 void TextNodeDumper::VisitAccessSpecDecl(const AccessSpecDecl *D) {
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp 581 const internal::VariadicDynCastAllOfMatcher<Decl, AccessSpecDecl>
tools/clang/lib/ASTMatchers/Dynamic/Marshallers.h 75 return Value.isMatcher() && Value.getMatcher().hasTypedMatcher<T>();
78 static ast_matchers::internal::Matcher<T> get(const VariantValue &Value) {
79 return Value.getMatcher().getTypedMatcher<T>();
83 return ArgKind(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
466 ast_matchers::internal::VariadicDynCastAllOfMatcher<BaseT, DerivedT> Func,
469 DerivedKind(ast_type_traits::ASTNodeKind::getFromNodeKind<DerivedT>()) {
778 ast_matchers::internal::VariadicDynCastAllOfMatcher<BaseT, DerivedT>
tools/clang/lib/Sema/SemaAccess.cpp 1136 if (isa<AccessSpecDecl>(I)) {
tools/clang/lib/Sema/SemaDecl.cpp 4945 } else if (isa<AccessSpecDecl>(Mem)) {
tools/clang/lib/Sema/SemaDeclAttr.cpp 7288 AccessSpecDecl *ASDecl, const ParsedAttributesView &AttrList) {
tools/clang/lib/Sema/SemaDeclCXX.cpp 2954 AccessSpecDecl *ASDecl = AccessSpecDecl::Create(Context, Access, CurContext,
2954 AccessSpecDecl *ASDecl = AccessSpecDecl::Create(Context, Access, CurContext,
3403 const AccessSpecDecl *LastAccessSpec = nullptr;
3405 if (const auto *AccessSpec = dyn_cast<AccessSpecDecl>(D))
3405 if (const auto *AccessSpec = dyn_cast<AccessSpecDecl>(D))
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp 929 Decl *TemplateDeclInstantiator::VisitAccessSpecDecl(AccessSpecDecl *D) {
930 AccessSpecDecl* AD
931 = AccessSpecDecl::Create(SemaRef.Context, D->getAccess(), Owner,
tools/clang/lib/Serialization/ASTReaderDecl.cpp 401 void VisitAccessSpecDecl(AccessSpecDecl *D);
1965 void ASTDeclReader::VisitAccessSpecDecl(AccessSpecDecl *D) {
3721 D = AccessSpecDecl::CreateDeserialized(Context, ID);
tools/clang/lib/Serialization/ASTWriterDecl.cpp 120 void VisitAccessSpecDecl(AccessSpecDecl *D);
1400 void ASTDeclWriter::VisitAccessSpecDecl(AccessSpecDecl *D) {
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp 438 if (auto *A = dyn_cast<AccessSpecDecl>(D)) {
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
1554 { typedef _Tp type; };
1558 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1580 { typedef _Tp const type; };
1629 { typedef _Tp type; };
1983 { typedef _Up type; };
1999 { typedef typename remove_reference<_Tp>::type* type; };
2003 : public __add_pointer_helper<_Tp>