[LLVMbugs] [Bug 2719] [sema] missing warning on useless typedef

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Feb 16 10:29:35 PST 2009


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


Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dgregor at apple.com
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #1 from Douglas Gregor <dgregor at apple.com>  2009-02-16 12:29:34 ---
We now get a warning for this:

/Users/dgregor/foo.c:1:1: error: declaration does not declare anything
typedef struct S {
^~~~~~~


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