diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-11-12 04:25:07 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-11-12 04:25:07 +0000 |
commit | 8f0889ce457db51d3af1eb1245bceee272d4dc7d (patch) | |
tree | d91392f6532d9ee9d7596a748ff49270521cb79c /include/clang/Basic/SourceManager.h | |
parent | 8ff338bfd8abd9ac5d0c1d89c1b05e2c02727174 (diff) |
Fix use of an uninitialized SourceLocation because DeclarationNameLoc failed to completely zero-initialize itself.
Now we explicitly memset all of its values.
This bug was uncovered by the 'Index/recursive-cxx-member-calls.cpp', which exhibited an assertion
on an i386 darwin build of clang. Adding this test case back since the assertion is now resolved.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118881 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/SourceManager.h')
0 files changed, 0 insertions, 0 deletions