We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ccb834 commit 5458867Copy full SHA for 5458867
cpp_linter/clang_tools/clang_tidy.py
@@ -82,6 +82,8 @@ def __init__(
82
@property
83
def diagnostic_link(self) -> str:
84
"""Creates a markdown link to the diagnostic documentation."""
85
+ if self.diagnostic.startswith("clang-diagnostic-"):
86
+ return self.diagnostic
87
link = f"[{self.diagnostic}](https://clang.llvm.org/extra/clang-tidy/checks/"
88
return link + "{}/{}.html)".format(*self.diagnostic.split("-", maxsplit=1))
89
0 commit comments