Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
all good

Try and commonize the clang versions
  • Loading branch information
speedyleion committed Jan 7, 2024
1 parent a4478b2 commit ddb587b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status:
project:
default:
target: 100
target: 100%
threshold: 0%
paths:
- "src"
4 changes: 2 additions & 2 deletions src/sphinx_c_autodoc/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,9 +702,9 @@ def _find_declaration_type(self) -> str:
Returns:
str: The type of the variable. If this can't be derived falls back to
`int`.
`unknown_type` to match the behavior of clang.
"""
type_ = "int"
type_ = "unknown_type"
tokens = list(
filter(
lambda t: t.kind == cindex.TokenKind.IDENTIFIER, self.node.get_tokens()
Expand Down

0 comments on commit ddb587b

Please # to comment.