You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS and Version: Microsoft Windows [Version 10.0.22631.3447]
VS Code Version: 1.89.0 (system setup)
C/C++ Extension Version: 1.19.9
If using SSH remote, specify OS of remote machine:
Bug Summary and Steps to Reproduce
Summary
Some combinations of static/not for constexpr formula are not evaluated by intellisense hover. Statements as static constexpr... sometimes do not evaluate.
Setup
as above
VS 2022 Community 17.9.6
Repro
Create vscode folder, cmakelists.txt, to configure and compile below c++17 code
Over over the 8 variable names to see which are evaluated and show their result
intmain() {
// hover over both variable names, left side of operator=() ...// shows 5 and 10constexprint case1a = 5;
constexprint case1b = case1a * 2;
// shows 5 and 10staticconstexprint case2a = 5;
constexprint case2b = case2a * 2;
// shows only 5constexprint case3a = 5;
staticconstexprint case3b = case3a * 2;
// shows only 5staticconstexprint case4a = 5;
staticconstexprint case4b = case4a * 2;
return0;
}
Result
Only 6 of 8 variables have their results evaluated on hover. Two of the static constexpr... fail to show their result.
Expected
All 8 variables show their evaluated result on hover.
got it. Does that team also own the code that is used in WSL with GCC? I thought there were separate components provided by the GCC project for hover/parsing.
Environment
Bug Summary and Steps to Reproduce
Summary
Some combinations of static/not for constexpr formula are not evaluated by intellisense hover. Statements as
static constexpr...
sometimes do not evaluate.Setup
Repro
Result
Only 6 of 8 variables have their results evaluated on hover. Two of the
static constexpr...
fail to show their result.Expected
All 8 variables show their evaluated result on hover.
Configuration and Logs
The text was updated successfully, but these errors were encountered: