bloomberg/clang-p2996

Overly lenient parsing of splice member accesses

Closed this issue · 0 comments

Several forms of illegal member access expressions are currently accepted (sometimes resulting in a compiler crash) for which the left-hand-side is a non record type (e.g., pointer, int, etc), and the right-hand-side is a splice of a data member.

Some examples can be found here.