================
@@ -77,11 +77,10 @@ Error
llvm::passPluginArguments(ArrayRef<PassPluginLibraryInfo> Infos,
auto [Name, Rest] = StringRef(Arg).split(',');
// Rest is null without a comma and empty for an empty argument.
if (!Rest.data())
- return createStringError("expected <plugin>,<arg> in -plugin-arg=" +
Arg);
+ return createStringError("expected <plugin>,<arg>, got '" + Arg + "'");
----------------
MaskRay wrote:
Not quite, single quotes are used for string literals.
https://github.com/llvm/llvm-project/pull/244917
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits