aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/check-headers-self-sufficient
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2018-06-02 11:18:33 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-04 13:22:49 +0000
commit7258e97e8e3af173cc5131f309ae487f663bfd39 (patch)
tree80ffdeb826b306049f9ce3c9d706d3a893ee6f66 /tools/check-headers-self-sufficient
parent728b7f3cdd0ad6a76c10e45fc4a4a8f4c5208c6e (diff)
C++14
Change-Id: I4bbf3e5e6d9d4e11e968a0bc88ce43444047a382 Reviewed-on: https://skia-review.googlesource.com/130903 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'tools/check-headers-self-sufficient')
-rwxr-xr-xtools/check-headers-self-sufficient2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check-headers-self-sufficient b/tools/check-headers-self-sufficient
index fe58b63fb4..e64c42750e 100755
--- a/tools/check-headers-self-sufficient
+++ b/tools/check-headers-self-sufficient
@@ -128,7 +128,7 @@ def compile_header(header):
args = ([] if fnmatch.fnmatch(header, 'include/c/*') else
public_header_args if fnmatch.fnmatch(header, 'include/*') else
all_header_args)
- cmd = ['c++', '--std=c++11'] + args + [ '-o', '/dev/null', '-c', '-x', 'c++', '-']
+ cmd = ['c++', '--std=c++14'] + args + [ '-o', '/dev/null', '-c', '-x', 'c++', '-']
proc = subprocess.Popen(cmd, stdin=subprocess.PIPE,
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
proc.stdin.write('#include "%s"\n#include "%s"\n' % (header, header))