浏览代码

Disable bugprone-forward-declaration-namespace check

Turns out this clang-tidy check can give false positives coming from
headers outside the project while it shouldn't.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens 5 年之前
父节点
当前提交
63c3580755
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .clang-tidy

+ 1 - 0
.clang-tidy

@@ -1,5 +1,6 @@
 Checks: '-*,
     bugprone-*,
+    -bugprone-forward-declaration-namespace,
     cppcoreguidelines-init-variables,
     misc-*,
     -misc-non-private-member-variables-in-classes,