mirror of
https://github.com/openharmony/third_party_rust_cxx.git
synced 2026-07-01 05:39:22 -04:00
Move clang-tidy std flag to compilation database file
https://clang.llvm.org/docs/JSONCompilationDatabase.html#alternatives
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
-std=c++11
|
||||
Reference in New Issue
Block a user