[cfe-dev] new version of If statement

Malcolm Parsons via cfe-dev cfe-dev at lists.llvm.org
Sat Oct 29 08:38:22 PDT 2016


On 29 October 2016 at 16:27, SHEKHAR BHANDAKKAR via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> While using clang 3.8, I had a problem with the new version of the If statement which allows initialisation statement as follows:
>
> ``` if(init; condition) ```

http://clang.llvm.org/cxx_status.html says that "Separate variable and
condition for if and switch" needs Clang 3.9.

-- 
Malcolm Parsons



More information about the cfe-dev mailing list