summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy6
-rw-r--r--circle.yml3
2 files changed, 7 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy
index a6f4b3f4ac..701d5071fb 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -8,8 +8,10 @@ Checks: >
performance-*,
portability-*,
readability-*,
+ -bugprone-macro-parentheses,
-bugprone-narrowing-conversions,
-google-build-using-namespace,
+ -google-explicit-constructor,
-google-readability-braces-around-statements,
-google-readability-todo,
-google-runtime-int,
@@ -26,3 +28,7 @@ Checks: >
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
FormatStyle: file
+
+CheckOptions:
+ - key: performance-unnecessary-value-param.AllowedTypes
+ value: 'exception_ptr'
diff --git a/circle.yml b/circle.yml
index e17b0083c8..dfba9caede 100644
--- a/circle.yml
+++ b/circle.yml
@@ -726,8 +726,7 @@ jobs:
- run:
name: Clang Tidy
command: |
- # FIXME: Run on the headers, add -header-filter='.*'
- run-clang-tidy-8 -quiet -j $(nproc) -p build $PWD/src/.*cpp $PWD/platform/.*cpp
+ run-clang-tidy-8 -quiet -j $(nproc) -header-filter='.*' -p build $PWD/src/.*cpp $PWD/platform/.*cpp
- save
baselines:
executor: ubuntu-eoan