[LLVMbugs] [Bug 20375] __PRETTY_FUNCTION__ not pretty enough

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 21 14:17:25 PDT 2014


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

David Majnemer <david.majnemer at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |david.majnemer at gmail.com
         Resolution|---                         |INVALID

--- Comment #2 from David Majnemer <david.majnemer at gmail.com> ---
This doesn't reproduced under trunk and has likely been fixed for some time:

$ echo 'extern "C" int printf(const char *, ...);
template <typename T> void f(T) { printf("%s\\n", __PRETTY_FUNCTION__); }
int main() { f(0); }' | clang++ -x c++ - -o t
$ ./t
void f(T) [T = int]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140721/d43c65eb/attachment.html>


More information about the llvm-bugs mailing list