diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2007-04-29 18:02:48 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2007-04-29 18:02:48 +0000 |
commit | c6c98af9e5814e8066c82f20ca11cf646a5fc289 (patch) | |
tree | 386170515eb43b2c98aa6240bed797d17406313c /include/llvm/GlobalAlias.h | |
parent | ee181bc899d06c642f27e6a5157e61a5079d0acd (diff) | |
download | external_llvm-c6c98af9e5814e8066c82f20ca11cf646a5fc289.zip external_llvm-c6c98af9e5814e8066c82f20ca11cf646a5fc289.tar.gz external_llvm-c6c98af9e5814e8066c82f20ca11cf646a5fc289.tar.bz2 |
Implement review feedback
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/GlobalAlias.h')
-rw-r--r-- | include/llvm/GlobalAlias.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/GlobalAlias.h b/include/llvm/GlobalAlias.h index 04bd5fb..bbd19ba 100644 --- a/include/llvm/GlobalAlias.h +++ b/include/llvm/GlobalAlias.h @@ -75,7 +75,10 @@ public: Constant* getAliasee() { return cast_or_null<Constant>(getOperand(0)); } - + /// getAliasedGlobal() - Aliasee can be either global or bitcast of + /// global. This method retrives the global for both aliasee flavours. + const GlobalValue* getAliasedGlobal() const; + // Methods for support type inquiry through isa, cast, and dyn_cast: static inline bool classof(const GlobalAlias *) { return true; } static inline bool classof(const Value *V) { |