diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-02-10 16:39:05 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-02-10 16:39:05 +0000 |
commit | c6f7591f5afcd6a35207dad8665365f3367eb7cb (patch) | |
tree | 68021abc985c6f16e4d54e2213ac6fc37e440352 | |
parent | 3361386cd4bfc8877043e8b3280a7d983cbbaa7f (diff) |
Doxygen-ify comments, make function prototypes more consistent in format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11259 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/iOther.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/llvm/iOther.h b/include/llvm/iOther.h index 7a529557c5..f9b60d03e9 100644 --- a/include/llvm/iOther.h +++ b/include/llvm/iOther.h @@ -56,6 +56,9 @@ public: // CallInst Class //===----------------------------------------------------------------------===// +/// CallInst - This class represents a function call, abstracting a target +/// machine's calling convention. +/// class CallInst : public Instruction { CallInst(const CallInst &CI); public: @@ -63,10 +66,10 @@ public: const std::string &Name = "", Instruction *InsertBefore = 0); // Alternate CallInst ctors w/ no actuals & one actual, respectively. - CallInst(Value *F, const std::string &Name = "", - Instruction *InsertBefore = 0); + CallInst(Value *F, const std::string &Name = "", + Instruction *InsertBefore = 0); CallInst(Value *F, Value *Actual, const std::string& Name = "", - Instruction* InsertBefore = 0); + Instruction *InsertBefore = 0); virtual Instruction *clone() const { return new CallInst(*this); } bool mayWriteToMemory() const { return true; } @@ -95,8 +98,8 @@ public: // ShiftInst Class //===----------------------------------------------------------------------===// -// ShiftInst - This class represents left and right shift instructions. -// +/// ShiftInst - This class represents left and right shift instructions. +/// class ShiftInst : public Instruction { ShiftInst(const ShiftInst &SI) : Instruction(SI.getType(), SI.getOpcode()) { Operands.reserve(2); |