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 | 3 from clang.cindex import CursorKind 48 assert tu_nodes[0].kind == CursorKind.STRUCT_DECL 59 assert s0_nodes[0].kind == CursorKind.FIELD_DECL 62 assert s0_nodes[1].kind == CursorKind.FIELD_DECL 66 assert tu_nodes[1].kind == CursorKind.STRUCT_DECL 71 assert tu_nodes[2].kind == CursorKind.FUNCTION_DECL 159 assert enum.kind == CursorKind.ENUM_DECL 168 assert enum.kind == CursorKind.ENUM_DECL 183 assert enum.kind == CursorKind.ENUM_DECL 190 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_translation_unit.py | 4 from clang.cindex import CursorKind 28 assert c.kind is CursorKind.TRANSLATION_UNIT
|
D | test_type.py | 3 from clang.cindex import CursorKind 33 assert all(x.kind == CursorKind.FIELD_DECL for x in fields)
|
/external/clang/bindings/python/clang/ |
D | cindex.py | 477 class CursorKind(object): class 487 if value >= len(CursorKind._kinds): 488 CursorKind._kinds += [None] * (value - len(CursorKind._kinds) + 1) 489 if CursorKind._kinds[value] is not None: 492 CursorKind._kinds[value] = self 493 CursorKind._name_map = None 503 for key,value in CursorKind.__dict__.items(): 504 if isinstance(value,CursorKind): 510 if id >= len(CursorKind._kinds) or CursorKind._kinds[id] is None: 512 return CursorKind._kinds[id] [all …]
|
/external/clang/include/clang/Sema/ |
D | CodeCompleteConsumer.h | 672 CXCursorKind CursorKind; 718 Kind(RK_Keyword), CursorKind(CXCursor_NotImplemented), 729 Kind(RK_Macro), CursorKind(CXCursor_MacroDefinition), 739 CXCursorKind CursorKind = CXCursor_NotImplemented, 743 Kind(RK_Pattern), CursorKind(CursorKind), Availability(Availability),
|
/external/clang/lib/Sema/ |
D | CodeCompleteConsumer.cpp | 539 CursorKind = getCursorKindForDecl(Declaration); in computeCursorKindAndAvailability() 540 if (CursorKind == CXCursor_UnexposedDecl) { in computeCursorKindAndAvailability() 545 CursorKind = CXCursor_ObjCInterfaceDecl; in computeCursorKindAndAvailability() 547 CursorKind = CXCursor_ObjCProtocolDecl; in computeCursorKindAndAvailability() 549 CursorKind = CXCursor_NotImplemented; in computeCursorKindAndAvailability()
|
D | SemaCodeComplete.cpp | 810 R.CursorKind = getCursorKindForDecl(R.Declaration); in MaybeAddConstructorResults()
|
/external/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 554 R.CursorKind = Results[I].CursorKind; in ProcessCodeCompleteResults() 629 R.CursorKind = CXCursor_NotImplemented; in ProcessOverloadCandidates()
|
/external/clang/include/clang-c/ |
D | Index.h | 4374 enum CXCursorKind CursorKind; member
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 385 CachedResult.Kind = Results[I].CursorKind; in CacheCodeCompletionResults() 485 CachedResult.Kind = Results[I].CursorKind; in CacheCodeCompletionResults()
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 1704 CXString ks = clang_getCursorKindSpelling(completion_result->CursorKind); in print_completion_result()
|