diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2009-02-20 22:51:36 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2009-02-20 22:51:36 +0000 |
commit | bc3135e12a3fcd2f7d4bd00b05f591f2a02f1a6a (patch) | |
tree | 0b78d06b18ccfef4e1aad7bbbf9b7f02fb90eb3c /include/llvm/Support/InstVisitor.h | |
parent | f7656333580979ea1bd5e1325e9b7d5f5b447131 (diff) | |
download | external_llvm-bc3135e12a3fcd2f7d4bd00b05f591f2a02f1a6a.zip external_llvm-bc3135e12a3fcd2f7d4bd00b05f591f2a02f1a6a.tar.gz external_llvm-bc3135e12a3fcd2f7d4bd00b05f591f2a02f1a6a.tar.bz2 |
Removed trailing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/InstVisitor.h')
-rw-r--r-- | include/llvm/Support/InstVisitor.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h index 0b8a9bd..597cc9d 100644 --- a/include/llvm/Support/InstVisitor.h +++ b/include/llvm/Support/InstVisitor.h @@ -31,15 +31,15 @@ namespace llvm { /// @brief Base class for instruction visitors /// /// Instruction visitors are used when you want to perform different action for -/// different kinds of instruction without without having to use lots of casts -/// and a big switch statement (in your code that is). +/// different kinds of instruction without without having to use lots of casts +/// and a big switch statement (in your code that is). /// /// To define your own visitor, inherit from this class, specifying your /// new type for the 'SubClass' template parameter, and "override" visitXXX -/// functions in your class. I say "overriding" because this class is defined -/// in terms of statically resolved overloading, not virtual functions. -/// -/// For example, here is a visitor that counts the number of malloc +/// functions in your class. I say "overriding" because this class is defined +/// in terms of statically resolved overloading, not virtual functions. +/// +/// For example, here is a visitor that counts the number of malloc /// instructions processed: /// /// /// Declare the class. Note that we derive from InstVisitor instantiated @@ -65,8 +65,8 @@ namespace llvm { /// if instructions are added in the future, they will be automatically /// supported, if you handle on of their superclasses. /// -/// The optional second template argument specifies the type that instruction -/// visitation functions should return. If you specify this, you *MUST* provide +/// The optional second template argument specifies the type that instruction +/// visitation functions should return. If you specify this, you *MUST* provide /// an implementation of visitInstruction though!. /// /// Note that this class is specifically designed as a template to avoid |