diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-29 09:13:03 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-29 11:25:04 +0200 |
commit | b0e74b65a86eb965c3e93da2fb77972cc5445f3c (patch) | |
tree | feb56f584abba14beb27634afef48968064ed4d1 | |
parent | 2127581728ae61eca7470b288c21d1c02754fb5b (diff) |
vim-ide-integration: remove no longer needed workaround
Fixes the problem that e.g. this code:
OUString str;
str += "";
is marked as a compile error, when clang would still work with c++11,
but the tree is configured for gnu++17.
Change-Id: Id60c0cf4b8c693b534f16ba813cf01a4bad7e560
Reviewed-on: https://gerrit.libreoffice.org/59746
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins
-rwxr-xr-x | bin/gbuild-to-ide | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index b016bfe02a0c..9ac6949ffec8 100755 --- a/bin/gbuild-to-ide +++ b/bin/gbuild-to-ide @@ -378,9 +378,6 @@ class VimIntegrationGenerator(IdeIntegrationGenerator): command += cxxflag command += ' -c ' command += file - # Help clang when the tree is configured for gcc. - for gnu in ('-std=gnu++11', '-std=gnu++1y', '-std=gnu++17'): - command = command.replace(gnu, '-std=c++11') return command |