[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    [cfe-dev] new version of If statement
From:       SHEKHAR BHANDAKKAR via cfe-dev <cfe-dev () lists ! llvm ! org>
Date:       2016-10-29 15:39:31
Message-ID: AB511C67-9FE9-4594-97AD-ACA8652DC855 () iith ! ac ! in
[Download RAW message or body]

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) ```

I am getting a syntax error while using the new if statement. 

Thanks,
Shekhar 
_______________________________________________
cfe-dev mailing list
cfe-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic