Home
last modified time | relevance | path

Searched refs:TypeKind (Results 1 – 8 of 8) sorted by relevance

/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/
H A D_clang.py87 clx_function_type_kinds = {clx.TypeKind.FUNCTIONPROTO, clx.TypeKind.FUNCTIONNOPROTO}
92 clx.TypeKind.INCOMPLETEARRAY,
93 clx.TypeKind.CONSTANTARRAY,
94 clx.TypeKind.VARIABLEARRAY
97 clx_pointer_type_kinds = clx_array_type_kinds | {clx.TypeKind.POINTER}
100 clx_enum_type_kinds = {clx.TypeKind.ENUM}
101 clx_bool_type_kinds = {clx.TypeKind.BOOL}
102 clx_char_type_kinds = {clx.TypeKind.CHAR_S, clx.TypeKind.UCHAR}
103 clx_mpiint_type_kinds = {clx.TypeKind.INT}
105 clx.TypeKind.USHORT,
[all …]
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/
H A D_util.py53 c for c in func_cursor.get_children() if c.type.get_pointee().kind == clx.TypeKind.FUNCTIONPROTO
313 assert petsc_object_type.kind == clx.TypeKind.RECORD, 'Symbol does not appear to be a struct!'
641 linter: Linter, obj: Cursor, expected_type_kinds: Collection[clx.TypeKind], pointer: bool, argument
731 if obj_type.kind == clx.TypeKind.INCOMPLETEARRAY:
733 elif obj_type.kind == clx.TypeKind.POINTER:
H A D_code.py111 …r: Linter, func: Cursor, parent: Cursor, expected_types: Collection[clx.TypeKind], **kwargs) -> No… argument
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_cursor.py321 …elif (cursor.type.get_canonical().kind == clx.TypeKind.POINTER) or (cursor.kind == clx.CursorKind.…
327 elif cursor.type.get_pointee().kind == clx.TypeKind.CHAR_S:
H A D_util.py54 return not t.kind == clx.TypeKind.INVALID
H A D_linter.py523 assert result_type.kind == clx.TypeKind.INT
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/
H A D_doc_section.py438 while canon_type.kind == clx.TypeKind.POINTER:
732 if self._get_deref_pointer_cursor_type(c).kind == clx.TypeKind.FUNCTIONPROTO
784 if self._get_deref_pointer_cursor_type(cursor).kind == clx.TypeKind.FUNCTIONPROTO:
H A D_doc_str.py458 clx.TypeKind.FUNCTIONPROTO : ('@', 'functions', Type.FUNCTION),
459 clx.TypeKind.ENUM : ('E', 'enums', Type.ENUM),