vscode-cmake-tools
vscode-cmake-tools copied to clipboard
Compiler "notes" aren't turned into Problems
Brief Issue Summary
Do "CMake: Build" with code that passes something like a std::vector
to a parameter that takes a std::vector&&
(i.e. std::move
is missing). The result has multiple "notes" with cl.exe. The notes should be populated in the Problems. My repro was with the cl.exe compiler.
Otherwise, it just shows 1 problem in <xutility>
, which isn't helpful and the command line needs to be looked at.
You can run the "C/C++: Run Code Analysis On Active File" to compare the clang-tidy problems processing, which correctly handles the "notes" output (although that shows the clang results instead of cl.exe").
CMake Tools Diagnostics
Unneeded.
Debug Log
Unneeded.
Additional Information
No response