vscode-cpp-helper
vscode-cpp-helper copied to clipboard
namespace Scop Wrongly Parsed [bug]
with a.hpp and a.cpp in the same directory.
a.hpp:
class C // class C omg
{
void f();
};
gives in a.cpp:
#include "a.hpp"
void omg::f()
{
}
while
class C // class C
{
void f();
};
gives
#include "a.hpp"
void C::f()
{
}
which is correct, but even more strange:
class C // a comment
{
void f();
};
gives
#include "a.hpp"
void f()
{
}