diff options
author | Dan Gohman <gohman@apple.com> | 2008-12-08 07:10:54 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-12-08 07:10:54 +0000 |
commit | 149cfc35197229d229c5737046210b5ade06e557 (patch) | |
tree | 8267084d313e44ec7dcf00e92eddec26cfc010dd /include | |
parent | f923129fc30a8a2c2c0948131dd6458af4ae10ee (diff) | |
download | external_llvm-149cfc35197229d229c5737046210b5ade06e557.zip external_llvm-149cfc35197229d229c5737046210b5ade06e557.tar.gz external_llvm-149cfc35197229d229c5737046210b5ade06e557.tar.bz2 |
Make ConstantAggregateZero::get return a ConstantAggregateZero*,
as suggested in PR3182.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60691 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Constants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index 0706f61..28ebe55 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -295,7 +295,7 @@ protected: public: /// get() - static factory method for creating a null aggregate. It is /// illegal to call this method with a non-aggregate type. - static Constant *get(const Type *Ty); + static ConstantAggregateZero *get(const Type *Ty); /// isNullValue - Return true if this is the value that would be returned by /// getNullValue. |