Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repro is with 1.2.0-insiders:
{ "configurations": [ { "name": "Linux", "includePath": [ "${workspaceFolder}/**" ], "intelliSenseMode": "gcc-x64", "cppStandard": "c++20", "compilerPath": "/usr/bin/g++-10", "compilerArgs": ["-fcoroutines"] } ], "version": 4 }
struct foo { bool done() const noexcept { return __builtin_coro_done(_M_fr_ptr); } void resume() const { __builtin_coro_resume(_M_fr_ptr); } void destroy() const { __builtin_coro_destroy(_M_fr_ptr); } protected: void* _M_fr_ptr; };
Bug: IntelliSense doesn't recognize the __builtin_coro_* methods. It works with clang mode (which doesn't need the -fcoroutines arg). The case is valid with g++ 10 or newer.
__builtin_coro_*
The text was updated successfully, but these errors were encountered:
Fixed with https://github.com/microsoft/vscode-cpptools/releases/tag/1.2.0-insiders2
Sorry, something went wrong.
No branches or pull requests
Repro is with 1.2.0-insiders:
Bug: IntelliSense doesn't recognize the
__builtin_coro_*methods. It works with clang mode (which doesn't need the -fcoroutines arg). The case is valid with g++ 10 or newer.The text was updated successfully, but these errors were encountered: