search for: debugtypenam

Displaying 1 result from an estimated 1 matches for "debugtypenam".

Did you mean: debugtypename
2011 Jun 22
2
[LLVMdev] Improving cast<> failure messages.
...ing.h on some library for string concatenation; preferably <string> but a lower-level interface could be used it someone objects (or it could be done manually, but that seems horrible). An example of what this would be like is: // Before cast<> in llvm/Support/Casting.h const char *DebugTypeName(void*) { } // In the header for the type at some reasonable point before cast<> is // instatiated for that type const char *DebugTypeName(Foo*) { return "Foo"; } The pointer is only for ADL purposes and will always be 0. Sean