diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 20:19:05 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 20:19:05 +0000 |
commit | 9769ab22265b313171d201b5928688524a01bd87 (patch) | |
tree | 4215db61d3b617687d0eec4ed3caf7dbf973f4ca /include/llvm/Constant.h | |
parent | 109026290b3b07152322e65801edb51dccfe7ddc (diff) | |
download | external_llvm-9769ab22265b313171d201b5928688524a01bd87.zip external_llvm-9769ab22265b313171d201b5928688524a01bd87.tar.gz external_llvm-9769ab22265b313171d201b5928688524a01bd87.tar.bz2 |
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21408 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constant.h')
-rw-r--r-- | include/llvm/Constant.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h index 43a736e..b8ec03b 100644 --- a/include/llvm/Constant.h +++ b/include/llvm/Constant.h @@ -1,10 +1,10 @@ //===-- llvm/Constant.h - Constant class definition -------------*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This file contains the declaration of the Constant class. @@ -38,7 +38,7 @@ public: // Specialize get/setOperand for Constant's as their operands are always // constants as well. - Constant *getOperand(unsigned i) { + Constant *getOperand(unsigned i) { return static_cast<Constant*>(User::getOperand(i)); } const Constant *getOperand(unsigned i) const { @@ -56,7 +56,7 @@ 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; } static inline bool classof(const GlobalValue *) { return true; } |