mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-11 06:26:05 +08:00
disable move error + enforce c++11 for clang-tidy
This commit is contained in:
2
.github/workflows/awesome_workflow.yml
vendored
2
.github/workflows/awesome_workflow.yml
vendored
@@ -122,7 +122,7 @@ jobs:
|
||||
if not cpp_files:
|
||||
sys.exit(0)
|
||||
|
||||
subprocess.run(["clang-tidy-10", "--fix", "-p=build", *cpp_files, "--"],
|
||||
subprocess.run(["clang-tidy-10", "--fix", "-p=build", "--extra-args=-std=c++11", *cpp_files, "--"],
|
||||
check=True, text=True, stderr=subprocess.STDOUT)
|
||||
# for cpp_file in cpp_files:
|
||||
# subprocess.run(["clang-tidy-10", "--fix", "-p=build", cpp_file, "--"],
|
||||
|
||||
Reference in New Issue
Block a user