commit | 440f273c40cd5a4dbdaf81910c4f5dfc51435bff | [log] [tgz] |
---|---|---|
author | Matthias Braun <matze@braunis.de> | Fri Jan 20 04:23:08 2017 +0000 |
committer | Matthias Braun <matze@braunis.de> | Fri Jan 20 04:23:08 2017 +0000 |
tree | dfc675154573b4be70b1c5aaf91307b941aeb1c4 | |
parent | 358aca9ca66dd22f0247ffb46c2c413ea8f24344 [diff] |
BitVector: Fix undefined behaviour Calling reset() on an empty BitVector would call memset with a nullptr argument which is undefined behaviour. This should fix the sanitizer bot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292575 91177308-0d34-0410-b5e6-96231b3b80d8