|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/STLExtras.h 108 Ret (*callback)(intptr_t callable, Params ...params) = nullptr;
112 static Ret callback_fn(intptr_t callable, Params ...params) {
114 std::forward<Params>(params)...);
129 Ret operator()(Params ...params) const {
130 return callback(callable, std::forward<Params>(params)...);
tools/clang/include/clang/AST/Decl.h 129 static bool classofKind(Kind K) { return K == TranslationUnit; }
169 static bool classofKind(Kind K) { return K == PragmaComment; }
202 static bool classofKind(Kind K) { return K == PragmaDetectMismatch; }
235 static bool classofKind(Kind K) { return K == ExternCContext; }
261 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N)
464 static bool classofKind(Kind K) { return K >= firstNamed && K <= lastNamed; }
519 static bool classofKind(Kind K) { return K == Label; }
633 static bool classofKind(Kind K) { return K == Namespace; }
651 ValueDecl(Kind DK, DeclContext *DC, SourceLocation L,
665 static bool classofKind(Kind K) { return K >= firstValue && K <= lastValue; }
715 DeclaratorDecl(Kind DK, DeclContext *DC, SourceLocation L,
784 static bool classofKind(Kind K) {
995 VarDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
1210 Kind K = getKind();
1534 static bool classofKind(Kind K) { return K >= firstVar && K <= lastVar; }
1597 static bool classofKind(Kind K) { return K == ImplicitParam; }
1607 ParmVarDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
1745 static bool classofKind(Kind K) { return K == ParmVar; }
1898 FunctionDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
2638 static bool classofKind(Kind K) {
2697 FieldDecl(Kind DK, DeclContext *DC, SourceLocation StartLoc,
2855 static bool classofKind(Kind K) { return K >= firstField && K <= lastField; }
2896 static bool classofKind(Kind K) { return K == EnumConstant; }
2946 static bool classofKind(Kind K) { return K == IndirectField; }
2965 TypeDecl(Kind DK, DeclContext *DC, SourceLocation L, IdentifierInfo *Id,
2988 static bool classofKind(Kind K) { return K >= firstType && K <= lastType; }
3007 TypedefNameDecl(Kind DK, ASTContext &C, DeclContext *DC,
3084 static bool classofKind(Kind K) {
3109 static bool classofKind(Kind K) { return K == Typedef; }
3136 static bool classofKind(Kind K) { return K == TypeAlias; }
3173 TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3388 static bool classofKind(Kind K) { return K >= firstTag && K <= lastTag; }
3662 static bool classofKind(Kind K) { return K == Enum; }
3698 RecordDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3900 static bool classofKind(Kind K) {
3952 static bool classofKind(Kind K) { return K == FileScopeAsm; }
4137 static bool classofKind(Kind K) { return K == Block; }
4233 static bool classofKind(Kind K) { return K == Captured; }
4308 static bool classofKind(Kind K) { return K == Import; }
4354 static bool classofKind(Kind K) { return K == Export; }
4375 static bool classofKind(Kind K) { return K == Empty; }
tools/clang/include/clang/AST/DeclBase.h 379 Decl(Kind DK, DeclContext *DC, SourceLocation L)
389 Decl(Kind DK, EmptyShell Empty)
432 Kind getKind() const { return static_cast<Kind>(DeclKind); }
807 static unsigned getIdentifierNamespaceForKind(Kind DK);
999 static void add(Kind k);
1127 static bool classofKind(Kind K) { return true; }
1767 DeclContext(Decl::Kind K);
1772 Decl::Kind getDeclKind() const {
tools/clang/include/clang/AST/DeclCXX.h 128 static bool classofKind(Kind K) { return K == AccessSpec; }
483 CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, DeclContext *DC,
1785 static bool classofKind(Kind K) {
1898 static bool classofKind(Kind K) { return K == CXXDeductionGuide; }
1909 CXXMethodDecl(Kind DK, ASTContext &C, CXXRecordDecl *RD,
2117 static bool classofKind(Kind K) {
2616 static bool classofKind(Kind K) { return K == CXXConstructor; }
2677 static bool classofKind(Kind K) { return K == CXXDestructor; }
2744 static bool classofKind(Kind K) { return K == CXXConversion; }
2824 static bool classofKind(Kind K) { return K == LinkageSpec; }
2939 static bool classofKind(Kind K) { return K == UsingDirective; }
3052 static bool classofKind(Kind K) { return K == NamespaceAlias; }
3095 UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, SourceLocation Loc,
3097 UsingShadowDecl(Kind K, ASTContext &C, EmptyShell);
3154 static bool classofKind(Kind K) {
3266 static bool classofKind(Kind K) { return K == ConstructorUsingShadow; }
3409 static bool classofKind(Kind K) { return K == Using; }
3480 static bool classofKind(Kind K) { return K == UsingPack; }
3576 static bool classofKind(Kind K) { return K == UnresolvedUsingValue; }
3665 static bool classofKind(Kind K) { return K == UnresolvedUsingTypename; }
3707 static bool classofKind(Kind K) { return K == StaticAssert; }
3764 static bool classofKind(Kind K) { return K == Decl::Binding; }
3816 static bool classofKind(Kind K) { return K == Decomposition; }
tools/clang/include/clang/AST/DeclFriend.h 183 static bool classofKind(Kind K) { return K == Decl::Friend; }
tools/clang/include/clang/AST/DeclObjC.h 521 static bool classofKind(Kind K) { return K == ObjCMethod; }
626 static bool classofKind(Kind K) { return K == ObjCTypeParam; }
961 static bool classofKind(Kind K) { return K == ObjCProperty; }
979 ObjCContainerDecl(Kind DK, DeclContext *DC, IdentifierInfo *Id,
1132 static bool classofKind(Kind K) {
1922 static bool classofKind(Kind K) { return K == ObjCInterface; }
1998 static bool classofKind(Kind K) { return K == ObjCIvar; }
2031 static bool classofKind(Kind K) { return K == ObjCAtDefsField; }
2260 static bool classofKind(Kind K) { return K == ObjCProtocol; }
2421 static bool classofKind(Kind K) { return K == ObjCCategory; }
2431 ObjCImplDecl(Kind DK, DeclContext *DC,
2480 static bool classofKind(Kind K) {
2529 static bool classofKind(Kind K) { return K == ObjCCategoryImpl;}
2721 static bool classofKind(Kind K) { return K == ObjCImplementation; }
2751 static bool classofKind(Kind K) { return K == ObjCCompatibleAlias; }
2865 static bool classofKind(Decl::Kind K) { return K == ObjCPropertyImpl; }
tools/clang/include/clang/AST/DeclOpenMP.h 49 OMPThreadPrivateDecl(Kind DK, DeclContext *DC, SourceLocation L) :
89 static bool classofKind(Kind K) { return K == OMPThreadPrivate; }
134 OMPDeclareReductionDecl(Kind DK, DeclContext *DC, SourceLocation L,
199 static bool classofKind(Kind K) { return K == OMPDeclareReduction; }
233 OMPDeclareMapperDecl(Kind DK, DeclContext *DC, SourceLocation L,
296 static bool classofKind(Kind K) { return K == OMPDeclareMapper; }
335 static bool classofKind(Kind K) { return K == OMPCapturedExpr; }
356 OMPRequiresDecl(Kind DK, DeclContext *DC, SourceLocation L)
406 static bool classofKind(Kind K) { return K == OMPRequires; }
442 OMPAllocateDecl(Kind DK, DeclContext *DC, SourceLocation L)
518 static bool classofKind(Kind K) { return K == OMPAllocate; }
tools/clang/include/clang/AST/DeclTemplate.h 392 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name,
397 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name,
424 static bool classofKind(Kind K) {
835 RedeclarableTemplateDecl(Kind DK, ASTContext &C, DeclContext *DC,
941 static bool classofKind(Kind K) {
1104 static bool classofKind(Kind K) { return K == FunctionTemplate; }
1245 static bool classofKind(Kind K) { return K == TemplateTypeParm; }
1428 static bool classofKind(Kind K) { return K == NonTypeTemplateParm; }
1595 static bool classofKind(Kind K) { return K == TemplateTemplateParm; }
1612 static bool classofKind(Kind K) { return K == BuiltinTemplate; }
1688 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK,
1695 explicit ClassTemplateSpecializationDecl(ASTContext &C, Kind DK);
1898 static bool classofKind(Kind K) {
2063 static bool classofKind(Kind K) {
2249 static bool classofKind(Kind K) { return K == ClassTemplate; }
2332 static bool classofKind(Kind K) { return K == Decl::FriendTemplate; }
2405 static bool classofKind(Kind K) { return K == TypeAliasTemplate; }
2467 static bool classofKind(Kind K) {
2541 VarTemplateSpecializationDecl(Kind DK, ASTContext &Context, DeclContext *DC,
2548 explicit VarTemplateSpecializationDecl(Kind DK, ASTContext &Context);
2740 static bool classofKind(Kind K) {
2885 static bool classofKind(Kind K) {
3042 static bool classofKind(Kind K) { return K == VarTemplate; }
3072 static bool classofKind(Kind K) { return K == Concept; }
tools/clang/include/clang/AST/ExternalASTMerger.h 149 llvm::function_ref<bool(Decl::Kind)> IsKindWeWant,
tools/clang/include/clang/AST/ExternalASTSource.h 210 llvm::function_ref<bool(Decl::Kind)> IsKindWeWant,
tools/clang/include/clang/Sema/MultiplexExternalSemaSource.h 110 llvm::function_ref<bool(Decl::Kind)> IsKindWeWant,
tools/clang/include/clang/Serialization/ASTReader.h 1931 llvm::function_ref<bool(Decl::Kind)> IsKindWeWant,
tools/clang/lib/AST/Comment.cpp 223 Decl::Kind K = CommentDecl->getKind();
tools/clang/lib/AST/Decl.cpp 1680 static bool isRedeclarable(Decl::Kind K) {
1948 VarDecl::VarDecl(Kind DK, ASTContext &C, DeclContext *DC,
2764 FunctionDecl::FunctionDecl(Kind DK, ASTContext &C, DeclContext *DC,
4038 TagDecl::TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
4287 RecordDecl::RecordDecl(Kind DK, TagKind TK, const ASTContext &C,
tools/clang/lib/AST/DeclBase.cpp 193 void Decl::add(Kind k) {
689 unsigned Decl::getIdentifierNamespaceForKind(Kind DeclKind) {
859 Decl::Kind DK = D->getDeclKind();
878 Decl::Kind DK = D->getKind();
945 static Decl::Kind getKind(const Decl *D) { return D->getKind(); }
946 static Decl::Kind getKind(const DeclContext *DC) { return DC->getDeclKind(); }
1004 DeclContext::DeclContext(Decl::Kind K) {
1752 bool SkipRecords = getDeclKind() == Decl::Kind::Enum &&
tools/clang/lib/AST/DeclCXX.cpp 117 CXXRecordDecl::CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C,
1940 case Decl::Kind::CXXConstructor:
1942 case Decl::Kind::CXXConversion:
1944 case Decl::Kind::CXXDeductionGuide:
2801 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC,
2811 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, EmptyShell Empty)
tools/clang/lib/AST/DeclObjC.cpp 67 ObjCContainerDecl::ObjCContainerDecl(Kind DK, DeclContext *DC,
tools/clang/lib/AST/DeclOpenMP.cpp 135 Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name,
tools/clang/lib/AST/DeclTemplate.cpp 165 TemplateDecl::TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L,
742 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK,
756 Kind DK)
1094 Kind DK, ASTContext &Context, DeclContext *DC, SourceLocation StartLoc,
1103 VarTemplateSpecializationDecl::VarTemplateSpecializationDecl(Kind DK,
tools/clang/lib/AST/ExternalASTMerger.cpp 531 const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant,
tools/clang/lib/AST/ExternalASTSource.cpp 117 const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant,
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp 163 case Decl::Kind::Namespace:
166 case Decl::Kind::CXXRecord:
169 case Decl::Kind::ClassTemplateSpecialization:
173 case Decl::Kind::ClassTemplate:
176 case Decl::Kind::FunctionTemplate:
180 case Decl::Kind::Record:
181 case Decl::Kind::Typedef:
182 case Decl::Kind::Enum:
183 case Decl::Kind::EnumConstant:
184 case Decl::Kind::TemplateTypeParm:
186 case Decl::Kind::Var:
187 case Decl::Kind::ParmVar:
188 case Decl::Kind::CXXMethod:
189 case Decl::Kind::CXXConstructor:
190 case Decl::Kind::CXXDestructor:
191 case Decl::Kind::Function:
192 case Decl::Kind::Field:
tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp 117 const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant,
tools/clang/lib/Sema/SemaOverload.cpp10567 case Decl::Kind::CXXConstructor:
10571 case Decl::Kind::CXXConversion:
10575 case Decl::Kind::CXXDeductionGuide:
tools/clang/lib/Serialization/ASTReader.cpp 7933 const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant,
7940 auto K = (Decl::Kind)+LexicalDecls[I];
tools/clang/tools/extra/clang-move/Move.cpp 881 auto Kind = Decl->getKind();
884 if (Kind == Decl::Kind::Var)
886 else if (Kind == Decl::Kind::Function ||
887 Kind == Decl::Kind::FunctionTemplate)
889 else if (Kind == Decl::Kind::ClassTemplate ||
890 Kind == Decl::Kind::CXXRecord)
892 else if (Kind == Decl::Kind::Enum)
894 else if (Kind == Decl::Kind::Typedef || Kind == Decl::Kind::TypeAlias ||
894 else if (Kind == Decl::Kind::Typedef || Kind == Decl::Kind::TypeAlias ||
895 Kind == Decl::Kind::TypeAliasTemplate)
908 case Decl::Kind::Function:
909 case Decl::Kind::FunctionTemplate:
910 case Decl::Kind::ClassTemplate:
911 case Decl::Kind::CXXRecord:
912 case Decl::Kind::Enum:
913 case Decl::Kind::Typedef:
914 case Decl::Kind::TypeAlias:
915 case Decl::Kind::TypeAliasTemplate:
916 case Decl::Kind::Var:
tools/lldb/include/lldb/Symbol/ClangExternalASTSourceCallbacks.h 85 llvm::function_ref<bool(clang::Decl::Kind)> IsKindWeWant,
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h 85 llvm::function_ref<bool(clang::Decl::Kind)> IsKindWeWant,
344 llvm::function_ref<bool(clang::Decl::Kind)> IsKindWeWant,
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp 519 llvm::function_ref<bool(Decl::Kind)> predicate,
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.h 100 llvm::function_ref<bool(clang::Decl::Kind)> IsKindWeWant,
224 llvm::function_ref<bool(clang::Decl::Kind)> IsKindWeWant,
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp 77 static bool DeclKindIsCXXClass(clang::Decl::Kind decl_kind) {
783 const clang::Decl::Kind containing_decl_kind =
1507 const clang::Decl::Kind containing_decl_kind = decl_ctx->getDeclKind();
tools/lldb/source/Symbol/ClangASTContext.cpp 2362 const clang::Decl::Kind lhs_decl_kind = lhs_decl->getKind();
2363 const clang::Decl::Kind rhs_decl_kind = rhs_decl->getKind();
2373 const clang::Decl::Kind lhs_decl_ctx_kind =
2375 const clang::Decl::Kind rhs_decl_ctx_kind =
tools/lldb/source/Symbol/ClangExternalASTSourceCallbacks.cpp 91 llvm::function_ref<bool(clang::Decl::Kind)> IsKindWeWant,
usr/include/c++/7.4.0/bits/move.h 72 constexpr _Tp&&
73 forward(typename std::remove_reference<_Tp>::type& __t) noexcept
83 constexpr _Tp&&
84 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
usr/include/c++/7.4.0/type_traits 1629 { typedef _Tp type; };