summaryrefslogtreecommitdiff
path: root/include/llvm/Pass.h
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2011-04-28 09:12:47 +0000
committerJay Foad <jay.foad@gmail.com>2011-04-28 09:12:47 +0000
commiteb69732d56f7e581bf648df9bf1352d513913df6 (patch)
tree4670eaf2d203f34343ae41b46a9910ab3772b9b1 /include/llvm/Pass.h
parent80d9e072625bc49dab4fa2da6c21bdd202509ee3 (diff)
downloadllvm-eb69732d56f7e581bf648df9bf1352d513913df6.tar.gz
llvm-eb69732d56f7e581bf648df9bf1352d513913df6.tar.bz2
llvm-eb69732d56f7e581bf648df9bf1352d513913df6.tar.xz
Fix typos in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130396 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Pass.h')
-rw-r--r--include/llvm/Pass.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h
index 1de4782021..04dd8b6054 100644
--- a/include/llvm/Pass.h
+++ b/include/llvm/Pass.h
@@ -114,7 +114,7 @@ public:
void dump() const; // dump - Print to stderr.
/// createPrinterPass - Get a Pass appropriate to print the IR this
- /// pass operates one (Module, Function or MachineFunction).
+ /// pass operates on (Module, Function or MachineFunction).
virtual Pass *createPrinterPass(raw_ostream &O,
const std::string &Banner) const = 0;
@@ -320,7 +320,7 @@ class BasicBlockPass : public Pass {
public:
explicit BasicBlockPass(char &pid) : Pass(PT_BasicBlock, pid) {}
- /// createPrinterPass - Get a function printer pass.
+ /// createPrinterPass - Get a basic block printer pass.
Pass *createPrinterPass(raw_ostream &O, const std::string &Banner) const;
/// doInitialization - Virtual method overridden by subclasses to do