Cameron DaCamara
Cameron DaCamara
I found an equally strange case here: ```c++ void f() { if (x.y < x->y && x.y < 50) { T* x; } } ``` The tree I get back...
Hi, I am a member of the Visual C++ compiler team and I use VSCode as my primary editor/debugging experience with the C++ extension. Due to the fact that our...
The compiler is not required to issue a diagnostic for internal linkage names within a header unit, however using such an internal linkage name is ill-formed as per the standard:...
Here's a minimal repro: m.h: ```c++ #pragma once static void f() { } ``` main.cpp: ```c++ import "m.h"; int main() { f(); } ``` ``` $ cl /std:c++latest /exportHeader m.h...
Even if the function is called indirectly through a function template or inline function, the static function is reachable: m.h: ```c++ #pragma once static void f() { } inline void...
> MSVC has chosen to do "fairy magic" (🧚) when it sees `std::allocator::allocate`, `std::allocator::deallocate`, but does not allow `::operator new`. Fairy magic might be appropriate :). What the compiler actually...
Since I'm here, ### Batch edits? What is the best way to handle batch edits? e.g., can I repeatedly call `ts_tree_edit` and then, once the batch is complete, I can...
Is there any way of reverting the offending change? Taking a dependency on PkgConfig for a straight-forward library (it's usable as header-only) seems like massive overkill.
Thank you for the report! Can you also open a report using [Dev Comm](https://developercommunity2.visualstudio.com/home) if it is not too cumbersome? I'll start looking into the issue right away!
> Hi I think I did all the suggested corrections (or gave justification for not doing them). Is there a chance that this PR is accepted? It seems not very...