Sfoglia il codice sorgente

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 anni fa
parent
commit
63c3580755
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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,