This is an archive of the discontinued LLVM Phabricator instance.

[Tooling] Correct the "-std" compile command option.
ClosedPublic

Authored by hokein on Apr 11 2018, 1:41 AM.

Details

Summary

"-std c++11" is not valid in compiler, we have to use "-std=c++11".

Test in vscode with this patch, code completion for header works as expected.

Diff Detail

Repository
rL LLVM

Event Timeline

hokein created this revision.Apr 11 2018, 1:41 AM
sammccall accepted this revision.Apr 11 2018, 2:13 AM

Thanks!

This revision is now accepted and ready to land.Apr 11 2018, 2:13 AM
This revision was automatically updated to reflect the committed changes.