Merging r197409:
------------------------------------------------------------------------
r197409 | rikka | 2013-12-16 11:19:18 -0800 (Mon, 16 Dec 2013) | 4 lines

Make Sema::BuildCXXNestedNameSpecifier correctly clear the previous
CXXScopeSpec when necessary while performing typo correction. This fixes
the crash reported in PR18213 (the problem existed since r185487, and
r193020 made it easier to hit).
------------------------------------------------------------------------

llvm-svn: 197463
2 files changed
tree: 9f2a57078bcb40d283e5fd970a6d37c7ee42a611
  1. clang/
  2. clang-tools-extra/
  3. compiler-rt/
  4. libcxx/
  5. lld/
  6. lldb/
  7. llvm/
  8. polly/