[LLVMbugs] [Bug 10828] No warning for Most Vexing Parse of 0-argument function

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 4 20:15:17 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=10828

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-01-04 22:15:17 CST ---
In r147599:

<stdin>:5:6: warning: empty parentheses interpreted as a function declaration
      [-Wvexing-parse]
  C c();
     ^~

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