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:
483ec21
)
Fixed default ctor for APInt to properly initialize BitWidth to a
author
Ted Kremenek
<kremenek@apple.com>
Wed, 7 Nov 2007 00:27:59 +0000
(
00:27
+0000)
committer
Ted Kremenek
<kremenek@apple.com>
Wed, 7 Nov 2007 00:27:59 +0000
(
00:27
+0000)
non-random value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43795
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/APInt.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/APInt.h
b/include/llvm/ADT/APInt.h
index fb71907b105e0366e419bd3e1aa6e0295e6109b0..dc5d34f3b1f34850035081ff4dda029aea72b90d 100644
(file)
--- a/
include/llvm/ADT/APInt.h
+++ b/
include/llvm/ADT/APInt.h
@@
-207,7
+207,7
@@
public:
/// Default constructor that creates an uninitialized APInt. This is useful
/// for object deserialization (pair this with the static method Read).
- explicit APInt() {}
+ explicit APInt()
: BitWidth(1)
{}
/// @brief Used by the Bitcode serializer to emit APInts to Bitcode.
void Emit(Serializer& S) const;