>>! In D3627#56, @jordan_rose wrote:
> At first I misread that as
> 
>   void testSequencingOfConditionalTempDtors(bool b) {
>      (b || check(Dtor())), check(NoReturnDtor());
>      clang_analyzer_warnIfReached();  // expected-warning{{REACHABLE}}
>    }
> 
> which should NOT be reachable. That's probably also a good test case. The 
> comma operator is a real pain.

Funnily enough I had 10 minutes where I debugged why the CFG was looking 
incorrect, only to detect that in my small repro I had actually forgotten the 
parens for the comma operator.

http://reviews.llvm.org/D3627



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to