Parses a postfix expression after a boolean literal:
auto x = true["Oh really?"]; // ok
This fixes PR34273.
Differential D38342
[C++] Parse (sub) postfix expression after boolean literal Rakete1111 on Sep 27 2017, 8:01 PM. Authored by
Details
Parses a postfix expression after a boolean literal: auto x = true["Oh really?"]; // ok This fixes PR34273.
Diff Detail Event Timeline
Comment Actions
Do I actually need to -verify the test if no diagnostics are expected? Thanks @aaron.ballman Comment Actions Yes, you need to make sure that verify is on the RUN line. The existing test is broken like that (good catch). You should add -verify to the run line and // expected-no-diagnostics below it. Comment Actions Committed in r314463. Btw, if you're not in the IRC channel (#llvm on OFTC), you should hang out in there to make sure no build bots break due to the commit. |