aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/iTerminators.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/include/llvm/iTerminators.h b/include/llvm/iTerminators.h
index 3c681a5..f6e1c36 100644
--- a/include/llvm/iTerminators.h
+++ b/include/llvm/iTerminators.h
@@ -21,9 +21,9 @@
namespace llvm {
//===---------------------------------------------------------------------------
-// ReturnInst - Return a value (possibly void), from a function. Execution does
-// not continue in this function any longer.
-//
+/// ReturnInst - Return a value (possibly void), from a function. Execution
+/// does not continue in this function any longer.
+///
class ReturnInst : public TerminatorInst {
ReturnInst(const ReturnInst &RI) : TerminatorInst(Instruction::Ret) {
if (RI.Operands.size()) {
@@ -83,8 +83,8 @@ public:
};
//===---------------------------------------------------------------------------
-// BranchInst - Conditional or Unconditional Branch instruction.
-//
+/// BranchInst - Conditional or Unconditional Branch instruction.
+///
class BranchInst : public TerminatorInst {
BranchInst(const BranchInst &BI);
public:
@@ -153,8 +153,8 @@ public:
//===---------------------------------------------------------------------------
-// SwitchInst - Multiway switch
-//
+/// SwitchInst - Multiway switch
+///
class SwitchInst : public TerminatorInst {
// Operand[0] = Value to switch on
// Operand[1] = Default basic block destination
@@ -254,10 +254,9 @@ public:
}
};
-
//===---------------------------------------------------------------------------
-// InvokeInst - Invoke instruction
-//
+/// InvokeInst - Invoke instruction
+///
class InvokeInst : public TerminatorInst {
InvokeInst(const InvokeInst &BI);
public: