-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.parser
Milestone
Description
Describe the bug
- OS and Version: macOS 10.13.6
- VS Code Version: 1.27.1
- C/C++ Extension Version: 0.18.1
Exercising tuple covariance will crash the intellisense process. This snippet will cause a crash:
#include <tuple>
void Foo(std::tuple<int>)
{}
int main(int argc, char* argv[])
{
short val = 0;
Foo(std::make_tuple(val));
}
The snippet compiles and runs without warnings:
clang -std=c++11 tst.cpp
The C/C++ output will show entries like this:
Checking for syntax errors: file:///Users/ray/src/gm/vscpp/tst.cpp
Failed to read response from server: 18
Checking for syntax errors: file:///Users/ray/src/gm/vscpp/tst.cpp
IntelliSense engine is not responding. Using the Tag Parser instead.
IntelliSense engine is not responding. Using the Tag Parser instead.
IntelliSense engine is not responding. Using the Tag Parser instead.
Resetting IntelliSense server: /Users/ray/src/gm/vscpp/tst.cpp
Failed to read response from server: 16
Metadata
Metadata
Assignees
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.parser