http://llvm.org/bugs/show_bug.cgi?id=22011
Reid Kleckner <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #1 from Reid Kleckner <[email protected]> --- Clang is right to reject here. Because you left out the required 'template' keyword, we parsed it like this: return type().func<i>(a); // as written return ((type().func) < i) > (a); // as parsed Then during instantiation we saw this: (type().func) And told you that you have to call the method 'func'. The best we could hope for is an improved diagnostic. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
