================
@@ -125,6 +125,11 @@ class PassPlugin {
/// the same name, the last one receives the arguments.
LLVM_ABI Error passPluginArguments(ArrayRef<PassPluginLibraryInfo> Infos,
ArrayRef<std::string> Args);
+
+/// Parses \p Args as options declared with llvm/Support/CommandLine.h, for a
+/// \c ParseArguments callback. \p PluginName prefixes diagnostics.
+LLVM_ABI Error parsePassPluginCommandLine(const char *PluginName,
----------------
MaskRay wrote:
parsePassPluginCommandLine will be deleted by #227545
https://github.com/llvm/llvm-project/pull/226773
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits