summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Registry.h
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-09-15 20:22:05 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-09-15 20:22:05 +0000
commit4e0ae44b3a1b5f7157351764fd125c7c85959797 (patch)
tree6d35ac87b18b4f8ef882722a678a8019a9d4ea41 /include/llvm/Support/Registry.h
parentdbf545719a22bf03403c1d0137ae0f5726f36de3 (diff)
downloadllvm-4e0ae44b3a1b5f7157351764fd125c7c85959797.tar.gz
llvm-4e0ae44b3a1b5f7157351764fd125c7c85959797.tar.bz2
llvm-4e0ae44b3a1b5f7157351764fd125c7c85959797.tar.xz
Fix Doxygen issues: wrap code examples in \code and use \p to refer to
parameters. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163984 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Registry.h')
-rw-r--r--include/llvm/Support/Registry.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/Registry.h b/include/llvm/Support/Registry.h
index d0375bedd9..d141ddf3b5 100644
--- a/include/llvm/Support/Registry.h
+++ b/include/llvm/Support/Registry.h
@@ -120,6 +120,7 @@ namespace llvm {
/// Abstract base class for registry listeners, which are informed when new
/// entries are added to the registry. Simply subclass and instantiate:
///
+ /// \code
/// class CollectorPrinter : public Registry<Collector>::listener {
/// protected:
/// void registered(const Registry<Collector>::entry &e) {
@@ -131,7 +132,7 @@ namespace llvm {
/// };
///
/// CollectorPrinter Printer;
- ///
+ /// \endcode
class listener {
listener *Prev, *Next;