[vim] Pass correct -std flags to YCM libclang.
authorBenedikt Meurer <bmeurer@chromium.org>
Wed, 11 Feb 2015 07:42:53 +0000 (08:42 +0100)
committerBenedikt Meurer <bmeurer@chromium.org>
Wed, 11 Feb 2015 07:43:10 +0000 (07:43 +0000)
TBR=verwaest@chromium.org

Review URL: https://codereview.chromium.org/915933003

Cr-Commit-Position: refs/heads/master@{#26566}

tools/vim/v8.ycm_extra_conf.py

index 4de4eddd1028a1cbf400bd88d93ab4ee9fa8024c..412e17245b08849d897da0b463f917bb78c4efa6 100644 (file)
@@ -46,7 +46,7 @@ import sys
 # Flags from YCM's default config.
 flags = [
 '-DUSE_CLANG_COMPLETER',
-'-std=c++11',
+'-std=gnu++0x',
 '-x',
 'c++',
 ]