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 d474f89 commit 850dadbCopy full SHA for 850dadb
1 file changed
cpp-linter/src/clang_tools/clang_tidy.rs
@@ -75,6 +75,8 @@ pub struct TidyNotification {
75
impl TidyNotification {
76
pub fn diagnostic_link(&self) -> String {
77
if self.diagnostic.starts_with("clang-diagnostic-") {
78
+ // clang-diagnostic-* diagnostics are compiler diagnostics and don't have
79
+ // dedicated clang-tidy documentation pages, so return the name as-is.
80
return self.diagnostic.clone();
81
}
82
if let Some((category, name)) = if self.diagnostic.starts_with("clang-analyzer-") {
0 commit comments