http://llvm.org/bugs/show_bug.cgi?id=16377
Richard Smith <richard-l...@metafoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Richard Smith <richard-l...@metafoo.co.uk> --- Done in r184396. We don't perform any syntactic checks on the contents of a statement-expression in a constexpr function, so in C++11 you can use variable declarations, if, for, switch, and so on. But we still use the C++11 evaluation rules, so no variable mutation is allowed. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list LLVMbugs@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs