Move to a C++14 baseline.
All of our known users already use C++14 or later, and C++14 offers some
features that have potential to be very useful to VIXL.
This change updates the build scripts, and adds a #error guard to catch
unsupported '-std' overrides. It does not introduce any C++14 code.
Change-Id: If72806ff9d9e9695cce8d677d301318f09312de3
diff --git a/tools/clang_tidy.py b/tools/clang_tidy.py
index 42a1422..7ba1874 100755
--- a/tools/clang_tidy.py
+++ b/tools/clang_tidy.py
@@ -156,9 +156,8 @@
queue = TestQueue(prefix = progress_prefix)
- cpp_versions = ['c++98', 'c++11']
for file in to_check:
- for cpp_version in cpp_versions:
+ for cpp_version in config.tested_cpp_standards:
command = [clang_tidy, file] + opts + ['-std=%s' % cpp_version]
queue.AddTest(file, command=command)