From 7fd9999fefe30bbc9fdc475fcd51215f3481c2f9 Mon Sep 17 00:00:00 2001 From: Clemens Hammacher Date: Fri, 6 Sep 2019 11:50:28 +0200 Subject: [PATCH] [gcmole] Switch to C++14 Since we do not support gcc < 5 any more, we can switch to C++14 now. Gcmole is the only tool preventing this currently. R=mstarzinger@chromium.org Bug: v8:9687, v8:9690 Change-Id: Ie7fee25061bdf6f1e7f156bc150b7142c824f5d1 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1787426 Reviewed-by: Michael Starzinger Commit-Queue: Clemens Hammacher Cr-Commit-Position: refs/heads/master@{#63595} --- tools/gcmole/gcmole.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/gcmole/gcmole.lua b/tools/gcmole/gcmole.lua index 6758973457..d64dcd953a 100644 --- a/tools/gcmole/gcmole.lua +++ b/tools/gcmole/gcmole.lua @@ -102,11 +102,12 @@ local function MakeClangCommandLine( end plugin_args = " " .. table.concat(plugin_args, " ") end - return CLANG_BIN .. "/clang++ -std=c++11 -c " + return CLANG_BIN .. "/clang++ -std=c++14 -c" .. " -Xclang -load -Xclang " .. CLANG_PLUGINS .. "/libgcmole.so" .. " -Xclang -plugin -Xclang " .. plugin .. (plugin_args or "") .. " -Xclang -triple -Xclang " .. triple + .. " -fno-exceptions" .. " -D" .. arch_define .. " -DENABLE_DEBUGGER_SUPPORT" .. " -DV8_INTL_SUPPORT"