[llvm-commits] CVS: llvm/include/llvm/iOther.h
Misha Brukman
brukman at cs.uiuc.edu
Tue Feb 10 10:40:04 PST 2004
Changes in directory llvm/include/llvm:
iOther.h updated: 1.43 -> 1.44
---
Log message:
Doxygen-ify comments, make function prototypes more consistent in format.
---
Diffs of the changes: (+8 -5)
Index: llvm/include/llvm/iOther.h
diff -u llvm/include/llvm/iOther.h:1.43 llvm/include/llvm/iOther.h:1.44
--- llvm/include/llvm/iOther.h:1.43 Sun Dec 7 23:29:33 2003
+++ llvm/include/llvm/iOther.h Tue Feb 10 10:39:05 2004
@@ -56,6 +56,9 @@
// 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 @@
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 @@
// 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);
More information about the llvm-commits
mailing list