[LLVMbugs] [Bug 6132] Assertion on definition of method of inner class in outer class template

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 22 14:30:30 PDT 2012


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

Kaelyn Uhrain <rikka at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rikka at google.com
         Resolution|                            |FIXED

--- Comment #1 from Kaelyn Uhrain <rikka at google.com> 2012-06-22 16:30:30 CDT ---
In the 3.1 release and beyond, the example code does not trigger an assertion
in clang (built with assertions enabled):

$ ./bin/clang -o /dev/null -c t.cpp
t.cpp:7:15: error: non-friend class member 'fn' cannot have a qualified name
  void inner::fn() {
       ~~~~~~~^
1 error generated.

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