Remove comments in macro invocations

Just breaks to much.
This commit is contained in:
Jonathan Müller 2017-10-07 09:58:14 +02:00
commit b3885bbb68
2 changed files with 9 additions and 12 deletions

View file

@ -173,23 +173,20 @@ f **/
#define g(name) \
class name \
{ \
/** i
i */ \
void i(); \
};
/// h
/// h
g(h)
/// j
/// j
using j = int;
/// i
/// i
using i = int;
/// k
/// k
/// j
/// j
template <typename T/**/>
void k();
void j();
)";
auto file = parse({}, "comment-matching.cpp", code);