[LLVMbugs] [Bug 3167] Sema:: CheckForConstantInitializer should pedwarn if a constant is not a strict constant

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Dec 17 21:08:41 PST 2008


Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #1 from Chris Lattner <clattner at apple.com>  2008-12-17 23:08:39 ---
This is explicitly allowed by the "extensions spec" because ?: has special
semantics when the condition is a __builtin_constant_p expr.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list