From 420731a818b52f070af05cdad8dfba2f39ecc157 Mon Sep 17 00:00:00 2001 From: David Greene Date: Tue, 21 Aug 2007 14:57:58 +0000 Subject: [PATCH] Doxygenize comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41222 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/PassNameParser.h | 44 +++++++++++++-------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/include/llvm/Support/PassNameParser.h b/include/llvm/Support/PassNameParser.h index 37f07972713..312a8a6f11b 100644 --- a/include/llvm/Support/PassNameParser.h +++ b/include/llvm/Support/PassNameParser.h @@ -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 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 > > -// 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 > > +/// PassList(cl::desc("Passes available:")); +/// +/// Only the -anders_aa and -dse options will be available to the user. +/// template class PassArgFilter { public: