diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-07-19 21:22:02 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-07-19 21:22:02 +0000 |
commit | a32355bb8e82ba7162707f6c833680a929f4f763 (patch) | |
tree | 8f955a0f1fc1cd05677719662e4e38447578819f /include | |
parent | 049c48f1adf5cd7862cc4a48a3d3935a0e98ebb0 (diff) | |
download | external_llvm-a32355bb8e82ba7162707f6c833680a929f4f763.zip external_llvm-a32355bb8e82ba7162707f6c833680a929f4f763.tar.gz external_llvm-a32355bb8e82ba7162707f6c833680a929f4f763.tar.bz2 |
Tabs to spaces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15010 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Constant.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h index 301d9a4..fda1005 100644 --- a/include/llvm/Constant.h +++ b/include/llvm/Constant.h @@ -21,7 +21,7 @@ namespace llvm { class Constant : public User { protected: inline Constant(const Type *Ty, ValueTy vty = Value::SimpleConstantVal, - const std::string& Name = "" ) + const std::string& Name = "") : User(Ty, vty, Name) {} ~Constant() {} @@ -48,7 +48,6 @@ public: /// destroyConstantImpl as the last thing they do, to destroy all users and /// delete this. virtual void destroyConstant() { assert(0 && "Not reached!"); } - //// Methods for support type inquiry through isa, cast, and dyn_cast: static inline bool classof(const Constant *) { return true; } @@ -57,8 +56,8 @@ public: return V->getValueType() == Value::SimpleConstantVal || V->getValueType() == Value::ConstantExprVal || V->getValueType() == Value::ConstantAggregateZeroVal || - V->getValueType() == Value::FunctionVal || - V->getValueType() == Value::GlobalVariableVal; + V->getValueType() == Value::FunctionVal || + V->getValueType() == Value::GlobalVariableVal; } /// replaceUsesOfWithOnConstant - This method is a special form of |