Doxygenize comments.
authorDavid Greene <greened@obbligato.org>
Tue, 21 Aug 2007 14:57:58 +0000 (14:57 +0000)
committerDavid Greene <greened@obbligato.org>
Tue, 21 Aug 2007 14:57:58 +0000 (14:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41222 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/PassNameParser.h

index 37f07972713c64ddd8e358c8184a29182a744ec6..312a8a6f11b9e365832cf81ba337d4c8a6cf7f86 100644 (file)
@@ -89,12 +89,12 @@ public:
   }
 };
 
-//===----------------------------------------------------------------------===//
-// FilteredPassNameParser class - Make use of the pass registration
-// mechanism to automatically add a command line argument to opt for
-// each pass that satisfies a filter criteria.  Filter should return
-// true for passes to be registered as command-line options.
-//
+///===----------------------------------------------------------------------===//
+/// FilteredPassNameParser class - Make use of the pass registration
+/// mechanism to automatically add a command line argument to opt for
+/// each pass that satisfies a filter criteria.  Filter should return
+/// true for passes to be registered as command-line options.
+///
 template<typename Filter>
 class FilteredPassNameParser : public PassNameParser {
 private:
@@ -104,22 +104,22 @@ public:
   bool ignorablePassImpl(const PassInfo *P) const { return !filter(*P); }
 };
 
-//===----------------------------------------------------------------------===//
-// PassArgFilter - A filter for use with PassNameFilterParser that only
-// accepts a Pass whose Arg matches certain strings.
-//
-// Use like this:
-//
-// extern const char AllowedPassArgs[] = "-anders_aa -dse";
-//
-// static cl::list<
-//   const PassInfo*,
-//   bool,
-//   FilteredPassNameParser<PassArgFilter<AllowedPassArgs> > >
-// PassList(cl::desc("LLVM optimizations available:"));
-//
-// Only the -anders_aa and -dse options will be available to the user.
-//
+///===----------------------------------------------------------------------===//
+/// PassArgFilter - A filter for use with PassNameFilterParser that only
+/// accepts a Pass whose Arg matches certain strings.
+///
+/// Use like this:
+///
+/// extern const char AllowedPassArgs[] = "-anders_aa -dse";
+///
+/// static cl::list<
+///   const PassInfo*,
+///   bool,
+///   FilteredPassNameParser<PassArgFilter<AllowedPassArgs> > >
+/// PassList(cl::desc("Passes available:"));
+///
+/// Only the -anders_aa and -dse options will be available to the user.
+///
 template<const char *Args>
 class PassArgFilter {
 public: