set clang-tidy standard to c++11

This commit is contained in:
Krishna Vedala
2020-07-08 15:48:22 -04:00
parent bc5f8ed9a7
commit c4100f24ed

View File

@@ -129,7 +129,7 @@ jobs:
print("clang-tidy:")
for cpp_file in cpp_files:
subprocess.run(["clang-tidy", "--quiet", "--fix", cpp_file, "--"], check=True, text=True)
subprocess.run(["clang-tidy", "--quiet", "--extra-arg=-std=c++11", "--fix", cpp_file, "--"], check=True, text=True)
# print("g++:")
# compile_exts = tuple(".c .c++ .cc .cpp .cu .cxx".split())