Move clang-tidy std flag to compilation database file

https://clang.llvm.org/docs/JSONCompilationDatabase.html#alternatives
This commit is contained in:
David Tolnay
2020-11-23 17:05:41 -08:00
parent f1a7b60ad4
commit 431f7d9d40
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -103,4 +103,4 @@ jobs:
- name: Install clang-tidy
run: sudo apt install clang-tidy-10
- name: Run clang-tidy
run: clang-tidy-10 src/cxx.cc --header-filter='cxx\.h' -- -std=c++11
run: clang-tidy-10 src/cxx.cc --header-filter='cxx\.h'
+1
View File
@@ -0,0 +1 @@
-std=c++11