/external/llvm-project/clang/bindings/python/clang/ |
D | cindex.py | 657 class CursorKind(BaseEnumeration): class 669 return [x for x in CursorKind._kinds if not x is None] 719 CursorKind.UNEXPOSED_DECL = CursorKind(1) 722 CursorKind.STRUCT_DECL = CursorKind(2) 725 CursorKind.UNION_DECL = CursorKind(3) 728 CursorKind.CLASS_DECL = CursorKind(4) 731 CursorKind.ENUM_DECL = CursorKind(5) 735 CursorKind.FIELD_DECL = CursorKind(6) 738 CursorKind.ENUM_CONSTANT_DECL = CursorKind(7) 741 CursorKind.FUNCTION_DECL = CursorKind(8) [all …]
|
/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 123 assert xs[0].kind == CursorKind.CLASS_DECL 125 assert cs[0].kind == CursorKind.CONSTRUCTOR 126 assert cs[1].kind == CursorKind.CONSTRUCTOR 127 assert cs[2].kind == CursorKind.CONSTRUCTOR [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/llvm-project/clang/bindings/python/tests/cindex/ |
D | test_cursor_kind.py | 6 from clang.cindex import CursorKind 13 self.assertEqual(CursorKind.UNEXPOSED_DECL.name, 'UNEXPOSED_DECL') 16 kinds = CursorKind.get_all_kinds() 17 self.assertIn(CursorKind.UNEXPOSED_DECL, kinds) 18 self.assertIn(CursorKind.TRANSLATION_UNIT, kinds) 19 self.assertIn(CursorKind.VARIABLE_REF, kinds) 20 self.assertIn(CursorKind.LAMBDA_EXPR, kinds) 21 self.assertIn(CursorKind.OBJ_BOOL_LITERAL_EXPR, kinds) 22 self.assertIn(CursorKind.OBJ_SELF_EXPR, kinds) 23 self.assertIn(CursorKind.MS_ASM_STMT, kinds) [all …]
|
D | test_cursor.py | 11 from clang.cindex import CursorKind 68 self.assertEqual(tu_nodes[0].kind, CursorKind.STRUCT_DECL) 79 self.assertEqual(s0_nodes[0].kind, CursorKind.FIELD_DECL) 82 self.assertEqual(s0_nodes[1].kind, CursorKind.FIELD_DECL) 86 self.assertEqual(tu_nodes[1].kind, CursorKind.STRUCT_DECL) 91 self.assertEqual(tu_nodes[2].kind, CursorKind.FUNCTION_DECL) 148 self.assertEqual(xs[0].kind, CursorKind.CLASS_DECL) 150 self.assertEqual(cs[0].kind, CursorKind.CONSTRUCTOR) 151 self.assertEqual(cs[1].kind, CursorKind.CONSTRUCTOR) 152 self.assertEqual(cs[2].kind, CursorKind.CONSTRUCTOR) [all …]
|
D | test_type.py | 9 from clang.cindex import CursorKind 49 self.assertEqual(fields[0].kind, CursorKind.FIELD_DECL) 57 self.assertEqual(fields[1].kind, CursorKind.FIELD_DECL) 66 self.assertEqual(fields[2].kind, CursorKind.FIELD_DECL) 74 self.assertEqual(fields[3].kind, CursorKind.FIELD_DECL) 82 self.assertEqual(fields[4].kind, CursorKind.FIELD_DECL) 90 self.assertEqual(fields[5].kind, CursorKind.FIELD_DECL) 98 self.assertEqual(fields[6].kind, CursorKind.FIELD_DECL) 106 self.assertEqual(fields[7].kind, CursorKind.FIELD_DECL) 414 self.assertEqual(children[0].kind, CursorKind.STRUCT_DECL) [all …]
|
D | test_tokens.py | 6 from clang.cindex import CursorKind 29 self.assertEqual(cursor.kind, CursorKind.VAR_DECL)
|
D | test_exception_specification_kind.py | 14 if node.kind == clang.cindex.CursorKind.FUNCTION_DECL:
|
D | test_translation_unit.py | 13 from clang.cindex import CursorKind 64 self.assertIs(c.kind, CursorKind.TRANSLATION_UNIT) 155 …et_included_file().name for c in tu.cursor.get_children() if c.kind == CursorKind.INCLUSION_DIRECT…
|
/external/clang/bindings/python/clang/ |
D | cindex.py | 562 class CursorKind(BaseEnumeration): class 574 return filter(None, CursorKind._kinds) 624 CursorKind.UNEXPOSED_DECL = CursorKind(1) 627 CursorKind.STRUCT_DECL = CursorKind(2) 630 CursorKind.UNION_DECL = CursorKind(3) 633 CursorKind.CLASS_DECL = CursorKind(4) 636 CursorKind.ENUM_DECL = CursorKind(5) 640 CursorKind.FIELD_DECL = CursorKind(6) 643 CursorKind.ENUM_CONSTANT_DECL = CursorKind(7) 646 CursorKind.FUNCTION_DECL = CursorKind(8) [all …]
|
/external/clang/include/clang/Sema/ |
D | CodeCompleteConsumer.h | 662 CXCursorKind CursorKind; 708 StartParameter(0), Kind(RK_Keyword), CursorKind(CXCursor_NotImplemented), 718 Kind(RK_Macro), CursorKind(CXCursor_MacroDefinition), 727 CXCursorKind CursorKind = CXCursor_NotImplemented, 731 Kind(RK_Pattern), CursorKind(CursorKind), Availability(Availability),
|
/external/llvm-project/clang/include/clang/Sema/ |
D | CodeCompleteConsumer.h | 791 CXCursorKind CursorKind; variable 881 CursorKind(CXCursor_NotImplemented), Hidden(false), InBaseClass(false), in Keyword() 890 CursorKind(CXCursor_MacroDefinition), Hidden(false), InBaseClass(false), in Macro() 898 CXCursorKind CursorKind = CXCursor_NotImplemented, 902 CursorKind(CursorKind), Availability(Availability), Hidden(false), in Declaration()
|
/external/clang/lib/Sema/ |
D | CodeCompleteConsumer.cpp | 563 CursorKind = getCursorKindForDecl(Declaration); in computeCursorKindAndAvailability() 564 if (CursorKind == CXCursor_UnexposedDecl) { in computeCursorKindAndAvailability() 569 CursorKind = CXCursor_ObjCInterfaceDecl; in computeCursorKindAndAvailability() 571 CursorKind = CXCursor_ObjCProtocolDecl; in computeCursorKindAndAvailability() 573 CursorKind = CXCursor_NotImplemented; in computeCursorKindAndAvailability()
|
/external/llvm-project/clang/lib/Sema/ |
D | CodeCompleteConsumer.cpp | 698 CursorKind = getCursorKindForDecl(Declaration); in computeCursorKindAndAvailability() 699 if (CursorKind == CXCursor_UnexposedDecl) { in computeCursorKindAndAvailability() 704 CursorKind = CXCursor_ObjCInterfaceDecl; in computeCursorKindAndAvailability() 706 CursorKind = CXCursor_ObjCProtocolDecl; in computeCursorKindAndAvailability() 708 CursorKind = CXCursor_NotImplemented; in computeCursorKindAndAvailability()
|
/external/icu/tools/icu4c_srcgen/ |
D | genutil.py | 360 if decl.kind != clang.cindex.CursorKind.FUNCTION_DECL: 381 decl, clang.cindex.CursorKind.VISIBILITY_ATTR)
|
/external/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 550 R.CursorKind = Results[I].CursorKind; in ProcessCodeCompleteResults() 626 R.CursorKind = CXCursor_OverloadCandidate; in ProcessOverloadCandidates()
|
/external/llvm-project/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 588 R.CursorKind = Results[I].CursorKind; in ProcessCodeCompleteResults() 667 R.CursorKind = CXCursor_OverloadCandidate; in ProcessOverloadCandidates()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | Quality.cpp | 100 switch (R.CursorKind) { in categorize()
|
/external/llvm-project/clang/lib/Frontend/ |
D | ASTUnit.cpp | 397 CachedResult.Kind = R.CursorKind; in CacheCodeCompletionResults() 493 CachedResult.Kind = R.CursorKind; in CacheCodeCompletionResults()
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 370 CachedResult.Kind = R.CursorKind; in CacheCodeCompletionResults() 466 CachedResult.Kind = R.CursorKind; in CacheCodeCompletionResults()
|
/external/clang/include/clang-c/ |
D | Index.h | 4475 enum CXCursorKind CursorKind; member
|
/external/llvm-project/clang/include/clang-c/ |
D | Index.h | 5140 enum CXCursorKind CursorKind; member
|