"-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.
Paths
| Differential D45512
[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
Event TimelineThis revision is now accepted and ready to land.Apr 11 2018, 2:13 AM Closed by commit rL329786: [Tooling] Correct the "-std" compile command option. (authored by hokein). · Explain WhyApr 11 2018, 2:21 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 141964 cfe/trunk/lib/Tooling/InterpolatingCompilationDatabase.cpp
cfe/trunk/unittests/Tooling/CompilationDatabaseTest.cpp
|