From: Benedikt Meurer Date: Wed, 11 Feb 2015 07:42:53 +0000 (+0100) Subject: [vim] Pass correct -std flags to YCM libclang. X-Git-Tag: upstream/4.7.83~4474 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f2369fa33596223fde3656dc393a7d20ca99b0b8;p=platform%2Fupstream%2Fv8.git [vim] Pass correct -std flags to YCM libclang. TBR=verwaest@chromium.org Review URL: https://codereview.chromium.org/915933003 Cr-Commit-Position: refs/heads/master@{#26566} --- diff --git a/tools/vim/v8.ycm_extra_conf.py b/tools/vim/v8.ycm_extra_conf.py index 4de4eddd1..412e17245 100644 --- a/tools/vim/v8.ycm_extra_conf.py +++ b/tools/vim/v8.ycm_extra_conf.py @@ -46,7 +46,7 @@ import sys # Flags from YCM's default config. flags = [ '-DUSE_CLANG_COMPLETER', -'-std=c++11', +'-std=gnu++0x', '-x', 'c++', ]