Add an ArgList::AddAllArgs that accepts a vector of OptSpecifier.
[oota-llvm.git] / include / llvm / Option / ArgList.h
index ef4005761b75cebd67829443282acfcc10460c65..0a78e935afad4582d65a50fcd5395d21eada06eb 100644 (file)
@@ -259,6 +259,9 @@ public:
   void AddLastArg(ArgStringList &Output, OptSpecifier Id0,
                   OptSpecifier Id1) const;
 
+  /// AddAllArgs - Render all arguments matching any of the given ids.
+  void AddAllArgs(ArgStringList &Output, ArrayRef<OptSpecifier> Ids) const;
+
   /// AddAllArgs - Render all arguments matching the given ids.
   void AddAllArgs(ArgStringList &Output, OptSpecifier Id0,
                   OptSpecifier Id1 = 0U, OptSpecifier Id2 = 0U) const;