- Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Feature: Compile CommandsLanguage Serviceinvestigate: reproThis issue's repro steps needs to be investigated/confirmedThis issue's repro steps needs to be investigated/confirmed
Milestone
Description
Use test.cpp
#include <string> int main() { std::string s; } with some compile_commands.json like
[ { "directory": "<dir>", "command": "C:\\PROGRA~2\\MICROS~3\\2017\\ENTERP~1\\VC\\Tools\\MSVC\\1416~1.270\\bin\\Hostx86\\x86\\cl.exe -c sub.cpp", "file": "sub.cpp" } ] Then use Go to Definition on std::string.
Bug: The TU for xstring gets opened as a header only fallback instead of using the existing TU for sub.cpp.
This bug doesn't repro when using the CMake Tools configurationProvider.
Bug2 in #5506 is related.
Metadata
Metadata
Assignees
Labels
Feature: Compile CommandsLanguage Serviceinvestigate: reproThis issue's repro steps needs to be investigated/confirmedThis issue's repro steps needs to be investigated/confirmed
Type
Projects
Status
No status