ericLemanissier abandoned this revision.
ericLemanissier added a comment.

Well, C++ Core Guidelines advises in this case to correct function receiving 
__PRETTY_FUNCTION__: the parameter type should not be const char* ( 
https://github.com/isocpp/CppCoreGuidelines/issues/640 )
I'm not sure if it should be cstring_span, czstring_span, or czstring.
In case it is not possible to change this function, I guess the only solution 
is static_cast<const char*>(__PRETTY_FUNCTION)


http://reviews.llvm.org/D22196



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to