================
@@ -48,6 +48,71 @@ static bool reportValueError(LLVMContext *Ctx, Twine
ParamName,
return true;
}
+// Template function to get formatted type string based on C++ type
+template <typename T> std::string getTypeFormatted() {
----------------
llvm-beanz wrote:
Looks like this could be a StringRef.
```suggestion
template <typename T> StringRef getTypeFormatted() {
```
https://github.com/llvm/llvm-project/pull/144577
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits