mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-23 07:10:29 +00:00
Move clang-tidy std flag to compilation database file
https://clang.llvm.org/docs/JSONCompilationDatabase.html#alternatives
This commit is contained in:
parent
2580f7aa10
commit
094adfafb0
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -103,4 +103,4 @@ jobs:
|
|||||||
- name: Install clang-tidy
|
- name: Install clang-tidy
|
||||||
run: sudo apt install clang-tidy-10
|
run: sudo apt install clang-tidy-10
|
||||||
- name: Run clang-tidy
|
- 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
compile_flags.txt
Normal file
1
compile_flags.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
-std=c++11
|
Loading…
Reference in New Issue
Block a user