Lines Matching defs:kind
154 if (clang_isInvalid(Cursor.kind))
157 if (clang_isDeclaration(Cursor.kind)) {
445 if (clang_isReference(Cursor.kind) &&
446 Cursor.kind != CXCursor_CXXBaseSpecifier) {
455 if (clang_isDeclaration(Cursor.kind)) {
463 if (clang_isStatement(Cursor.kind)) {
470 if (clang_isExpression(Cursor.kind)) {
477 if (clang_isTranslationUnit(Cursor.kind)) {
506 if (Cursor.kind == CXCursor_CXXBaseSpecifier) {
514 if (Cursor.kind == CXCursor_IBOutletCollectionAttr) {
586 if (Cursor.kind == CXCursor_ObjCInterfaceDecl) {
591 } else if (Cursor.kind == CXCursor_ObjCProtocolDecl) {
1980 assert(D->isArrayRangeDesignator() && "Unknown designator kind");
3067 if (clang_isTranslationUnit(C.kind))
3071 if (clang_isReference(C.kind)) {
3072 switch (C.kind) {
3153 if (clang_isExpression(C.kind)) {
3160 if (clang_isStatement(C.kind)) {
3168 if (C.kind == CXCursor_MacroExpansion)
3172 if (C.kind == CXCursor_MacroDefinition)
3176 if (C.kind == CXCursor_InclusionDirective)
3179 if (clang_isDeclaration(C.kind))
3182 if (C.kind == CXCursor_AnnotateAttr) {
3187 if (C.kind == CXCursor_AsmLabelAttr) {
3203 if (clang_isStatement(C.kind)) {
3214 if (C.kind == CXCursor_ObjCMessageExpr) {
3223 if (C.kind == CXCursor_ObjCInstanceMethodDecl ||
3224 C.kind == CXCursor_ObjCClassMethodDecl) {
3233 if (C.kind == CXCursor_ObjCCategoryDecl ||
3234 C.kind == CXCursor_ObjCCategoryImplDecl) {
3265 if (!clang_isDeclaration(C.kind))
3669 if (cursor.kind == CXCursor_MacroExpansion && Data->PointsAtMacroArgExpansion)
3672 if (clang_isDeclaration(cursor.kind)) {
3687 if (BestCursor->kind == CXCursor_ObjCInterfaceDecl ||
3688 BestCursor->kind == CXCursor_ObjCClassRef)
3725 if (clang_isExpression(cursor.kind) &&
3726 clang_isDeclaration(BestCursor->kind)) {
3742 if (clang_isExpression(BestCursor->kind) &&
3744 cursor.kind == CXCursor_TypeRef) {
3780 KindSpelling = clang_getCursorKindSpelling(Result.kind);
3796 = clang_getCursorKindSpelling(Definition.kind);
3824 if (clang_isExpression(C.kind) || clang_isStatement(C.kind))
3828 std::make_pair(C.kind, C.data[Index]));
3876 return C.kind;
3880 if (clang_isReference(C.kind)) {
3881 switch (C.kind) {
3949 llvm_unreachable("Missed a reference kind");
3953 if (clang_isExpression(C.kind))
3957 if (clang_isStatement(C.kind))
3961 if (C.kind == CXCursor_PreprocessingDirective) {
3966 if (C.kind == CXCursor_MacroExpansion) {
3972 if (C.kind == CXCursor_MacroDefinition) {
3977 if (C.kind == CXCursor_InclusionDirective) {
3983 if (C.kind < CXCursor_FirstDecl || C.kind > CXCursor_LastDecl)
4039 if (clang_isReference(C.kind)) {
4040 switch (C.kind) {
4076 llvm_unreachable("Missed a reference kind");
4080 if (clang_isExpression(C.kind))
4083 if (clang_isStatement(C.kind))
4086 if (clang_isAttribute(C.kind))
4089 if (C.kind == CXCursor_PreprocessingDirective)
4092 if (C.kind == CXCursor_MacroExpansion) {
4098 if (C.kind == CXCursor_MacroDefinition) {
4104 if (C.kind == CXCursor_InclusionDirective) {
4110 if (C.kind == CXCursor_TranslationUnit) {
4118 if (C.kind >= CXCursor_FirstDecl && C.kind <= CXCursor_LastDecl) {
4141 if (C.kind >= CXCursor_FirstDecl && C.kind <= CXCursor_LastDecl) {
4190 if (clang_isInvalid(C.kind))
4194 if (clang_isDeclaration(C.kind)) {
4207 if (clang_isExpression(C.kind)) {
4223 if (clang_isStatement(C.kind)) {
4233 if (C.kind == CXCursor_MacroExpansion) {
4238 if (!clang_isReference(C.kind))
4241 switch (C.kind) {
4295 llvm_unreachable("Unhandled reference cursor kind");
4300 if (clang_isInvalid(C.kind))
4306 if (clang_isReference(C.kind) || clang_isExpression(C.kind)) {
4311 if (C.kind == CXCursor_MacroExpansion)
4314 if (!clang_isDeclaration(C.kind))
4492 if (!clang_isDeclaration(C.kind))
4499 if (!clang_isDeclaration(C.kind))
4522 if (C.kind != CXCursor_OverloadedDeclRef)
4541 if (cursor.kind != CXCursor_OverloadedDeclRef)
4593 switch (C.kind) {
4915 (clang_isInvalid(Cursors[I].kind) ||
4916 Pos->second.kind != CXCursor_PreprocessingDirective))
4926 if (I < PreprocessingTokIdx && clang_isPreprocessing(Cursors[I].kind))
5002 if (cursor.kind == CXCursor_ObjCPropertyDecl) {
5008 else if (cursor.kind == CXCursor_ObjCInstanceMethodDecl ||
5009 cursor.kind == CXCursor_ObjCClassMethodDecl) {
5027 else if (cursor.kind == CXCursor_CXXMethod) {
5035 else if (cursor.kind == CXCursor_StructDecl ||
5036 cursor.kind == CXCursor_ClassDecl ||
5037 cursor.kind == CXCursor_ClassTemplate ||
5038 cursor.kind == CXCursor_ClassTemplatePartialSpecialization) {
5045 if (clang_isPreprocessing(cursor.kind)) {
5048 if (cursor.kind == CXCursor_MacroExpansion) {
5131 // results in CXCursor.kind being an initialized value (i.e., 0). If
5135 if (!clang_isPreprocessing(oldC.kind))
5236 if (cursor.kind != CXCursor_MacroExpansion)
5423 if (Cursors[I].kind == CXCursor_ObjCPropertyDecl) {
5447 if (Cursors[I].kind == CXCursor_ObjCInstanceMethodDecl ||
5448 Cursors[I].kind == CXCursor_ObjCClassMethodDecl) {
5462 if (Cursors[I].kind == CXCursor_CXXFinalAttr ||
5463 Cursors[I].kind == CXCursor_CXXOverrideAttr) {
5507 if (!clang_isDeclaration(cursor.kind))
5579 if (clang_isDeclaration(cursor.kind))
5634 if (!clang_isDeclaration(cursor.kind))
5685 if (clang_isDeclaration(cursor.kind))
5710 if (clang_isDeclaration(cursor.kind)) {
5721 if (clang_isStatement(cursor.kind) || clang_isExpression(cursor.kind)) {
5730 if (clang_isDeclaration(cursor.kind)) {
5747 if (cursor.kind != CXCursor_InclusionDirective)
5755 if (!clang_isDeclaration(C.kind))
5768 if (!clang_isDeclaration(C.kind))
5783 if (!clang_isDeclaration(C.kind))
5802 if (!clang_isDeclaration(C.kind))
5820 if (!clang_isDeclaration(C.kind))
5833 if (!clang_isDeclaration(C.kind))
5852 if (C.kind != CXCursor_IBOutletCollectionAttr)
5877 const char *clang_getTUResourceUsageName(CXTUResourceUsageKind kind) {
5879 switch (kind) {
6029 clang_getTUResourceUsageName(Usage.entries[I].kind),