[LLVMbugs] [Bug 7057] Too early resolving of template argument's member functions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 5 13:20:54 PDT 2010


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

Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Douglas Gregor <dgregor at apple.com> 2010-05-05 15:20:54 CDT ---
This is a bug in Loki. For "RP" to be parsed as a template-name when "sp" is a
type-dependent expression, it needs the template keyword, e.g.,

  sp.template RP<T>

otherwise, RP gets parsed as a member and '<' as a less-than operator.

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