projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86c7c58
)
initialize the Next field to null
author
Chris Lattner
<sabre@nondot.org>
Mon, 30 Jan 2012 01:17:43 +0000
(
01:17
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 30 Jan 2012 01:17:43 +0000
(
01:17
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149217
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Constants.h
patch
|
blob
|
history
diff --git
a/include/llvm/Constants.h
b/include/llvm/Constants.h
index 1180b955f2719c5b565979e96a6f1a6a9921e38c..f5d999b2952a12bdef4da8b87bbe254d4d510c9e 100644
(file)
--- a/
include/llvm/Constants.h
+++ b/
include/llvm/Constants.h
@@
-581,7
+581,7
@@
class ConstantDataSequential : public Constant {
ConstantDataSequential(const ConstantDataSequential &); // DO NOT IMPLEMENT
protected:
explicit ConstantDataSequential(Type *ty, ValueTy VT, const char *Data)
- : Constant(ty, VT, 0, 0), DataElements(Data) {}
+ : Constant(ty, VT, 0, 0), DataElements(Data)
, Next(0)
{}
~ConstantDataSequential() { delete Next; }
static Constant *getImpl(StringRef Bytes, Type *Ty);