Searched refs:CursorKind (Results 1 – 13 of 13) sorted by relevance
/external/clang/bindings/python/tests/cindex/ |
D | test_cursor_kind.py | 1 from clang.cindex import CursorKind 4 assert CursorKind.UNEXPOSED_DECL.name is 'UNEXPOSED_DECL' 7 kinds = CursorKind.get_all_kinds() 8 assert CursorKind.UNEXPOSED_DECL in kinds 9 assert CursorKind.TRANSLATION_UNIT in kinds 10 assert CursorKind.VARIABLE_REF in kinds 11 assert CursorKind.LAMBDA_EXPR in kinds 12 assert CursorKind.OBJ_BOOL_LITERAL_EXPR in kinds 13 assert CursorKind.OBJ_SELF_EXPR in kinds 14 assert CursorKind.MS_ASM_STMT in kinds [all …]
|
D | test_cursor.py | 4 from clang.cindex import CursorKind 43 assert tu_nodes[0].kind == CursorKind.STRUCT_DECL 54 assert s0_nodes[0].kind == CursorKind.FIELD_DECL 57 assert s0_nodes[1].kind == CursorKind.FIELD_DECL 61 assert tu_nodes[1].kind == CursorKind.STRUCT_DECL 66 assert tu_nodes[2].kind == CursorKind.FUNCTION_DECL 154 assert enum.kind == CursorKind.ENUM_DECL 163 assert enum.kind == CursorKind.ENUM_DECL 178 assert enum.kind == CursorKind.ENUM_DECL 185 assert spam.kind == CursorKind.ENUM_CONSTANT_DECL [all …]
|
D | test_tokens.py | 1 from clang.cindex import CursorKind 22 assert cursor.kind == CursorKind.VAR_DECL
|
D | test_type.py | 3 from clang.cindex import CursorKind 33 assert all(x.kind == CursorKind.FIELD_DECL for x in fields) 385 assert children[0].kind == CursorKind.STRUCT_DECL 388 assert fields[0].kind == CursorKind.FIELD_DECL 389 assert fields[1].kind == CursorKind.FIELD_DECL
|
D | test_translation_unit.py | 5 from clang.cindex import CursorKind 29 assert c.kind is CursorKind.TRANSLATION_UNIT
|
/external/clang/bindings/python/clang/ |
D | cindex.py | 545 class CursorKind(BaseEnumeration): class 557 return filter(None, CursorKind._kinds) 607 CursorKind.UNEXPOSED_DECL = CursorKind(1) 610 CursorKind.STRUCT_DECL = CursorKind(2) 613 CursorKind.UNION_DECL = CursorKind(3) 616 CursorKind.CLASS_DECL = CursorKind(4) 619 CursorKind.ENUM_DECL = CursorKind(5) 623 CursorKind.FIELD_DECL = CursorKind(6) 626 CursorKind.ENUM_CONSTANT_DECL = CursorKind(7) 629 CursorKind.FUNCTION_DECL = CursorKind(8) [all …]
|
/external/clang/include/clang/Sema/ |
D | CodeCompleteConsumer.h | 660 CXCursorKind CursorKind; 706 StartParameter(0), Kind(RK_Keyword), CursorKind(CXCursor_NotImplemented), 716 Kind(RK_Macro), CursorKind(CXCursor_MacroDefinition), 725 CXCursorKind CursorKind = CXCursor_NotImplemented, 729 Kind(RK_Pattern), CursorKind(CursorKind), Availability(Availability),
|
/external/clang/lib/Sema/ |
D | CodeCompleteConsumer.cpp | 561 CursorKind = getCursorKindForDecl(Declaration); in computeCursorKindAndAvailability() 562 if (CursorKind == CXCursor_UnexposedDecl) { in computeCursorKindAndAvailability() 567 CursorKind = CXCursor_ObjCInterfaceDecl; in computeCursorKindAndAvailability() 569 CursorKind = CXCursor_ObjCProtocolDecl; in computeCursorKindAndAvailability() 571 CursorKind = CXCursor_NotImplemented; in computeCursorKindAndAvailability()
|
D | SemaCodeComplete.cpp | 807 R.CursorKind = getCursorKindForDecl(R.Declaration); in MaybeAddConstructorResults()
|
/external/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 550 R.CursorKind = Results[I].CursorKind; in ProcessCodeCompleteResults() 626 R.CursorKind = CXCursor_OverloadCandidate; in ProcessOverloadCandidates()
|
/external/clang/include/clang-c/ |
D | Index.h | 4267 enum CXCursorKind CursorKind; member
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 368 CachedResult.Kind = R.CursorKind; in CacheCodeCompletionResults() 464 CachedResult.Kind = R.CursorKind; in CacheCodeCompletionResults()
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 1892 CXString ks = clang_getCursorKindSpelling(completion_result->CursorKind); in print_completion_result()
|