summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-11-18 02:51:33 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-11-18 02:51:33 +0000
commit1572ba716bad4944a83040adef76c186c4841e95 (patch)
treebadd3e1e6c448a2952a81161cfdb4895ca69f23e /include
parent17a88a7e8b8ad2f0766c4099d09cd29229296352 (diff)
downloadexternal_llvm-1572ba716bad4944a83040adef76c186c4841e95.zip
external_llvm-1572ba716bad4944a83040adef76c186c4841e95.tar.gz
external_llvm-1572ba716bad4944a83040adef76c186c4841e95.tar.bz2
Fix spacing, forward declare order.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194985 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/AutoUpgrade.h8
-rw-r--r--include/llvm/IR/Constants.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/include/llvm/AutoUpgrade.h b/include/llvm/AutoUpgrade.h
index 22d0c43..b638d4f 100644
--- a/include/llvm/AutoUpgrade.h
+++ b/include/llvm/AutoUpgrade.h
@@ -15,14 +15,14 @@
#define LLVM_AUTOUPGRADE_H
namespace llvm {
+ class CallInst;
class Constant;
- class Module;
- class GlobalVariable;
class Function;
- class CallInst;
class Instruction;
- class Value;
+ class Module;
+ class GlobalVariable;
class Type;
+ class Value;
/// This is a more granular function that simply checks an intrinsic function
/// for upgrading, and returns true if it requires upgrading. It may return
diff --git a/include/llvm/IR/Constants.h b/include/llvm/IR/Constants.h
index b6e2082..f1cee5a 100644
--- a/include/llvm/IR/Constants.h
+++ b/include/llvm/IR/Constants.h
@@ -862,7 +862,7 @@ public:
static Constant *getPtrToInt(Constant *C, Type *Ty);
static Constant *getIntToPtr(Constant *C, Type *Ty);
static Constant *getBitCast (Constant *C, Type *Ty);
- static Constant *getAddrSpaceCast (Constant *C, Type *Ty);
+ static Constant *getAddrSpaceCast(Constant *C, Type *Ty);
static Constant *getNSWNeg(Constant *C) { return getNeg(C, false, true); }
static Constant *getNUWNeg(Constant *C) { return getNeg(C, true, false); }
@@ -1080,8 +1080,8 @@ public:
/// as this ConstantExpr. The instruction is not linked to any basic block.
///
/// A better approach to this could be to have a constructor for Instruction
- /// which would take a ConstantExpr parameter, but that would have spread
- /// implementation details of ConstantExpr outside of Constants.cpp, which
+ /// which would take a ConstantExpr parameter, but that would have spread
+ /// implementation details of ConstantExpr outside of Constants.cpp, which
/// would make it harder to remove ConstantExprs altogether.
Instruction *getAsInstruction();