Skip to content

Commit

Permalink
Doxygen-ify comments, make function prototypes more consistent in for…
Browse files Browse the repository at this point in the history
…mat.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11259 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
mbrukman committed Feb 10, 2004
1 parent 3361386 commit c6f7591
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions include/llvm/iOther.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,20 @@ class CastInst : public Instruction {
// 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:
CallInst(Value *F, const std::vector<Value*> &Par,
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; }
Expand Down Expand Up @@ -95,8 +98,8 @@ class CallInst : public Instruction {
// 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);
Expand Down

0 comments on commit c6f7591

Please sign in to comment.