[LLVMbugs] [Bug 10737] New: Some issues with forward references in classes

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 24 16:15:03 PDT 2011


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

           Summary: Some issues with forward references in classes
           Product: clang
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rkotler at mips.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


This file should fail to compile but clang accepts it.

The name foo will be parsed as a variable and the later definition of foo will
not help.

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