]> granicus.if.org Git - clang/commit
Make Sema::BuildCXXNestedNameSpecifier correctly clear the previous
authorKaelyn Uhrain <rikka@google.com>
Mon, 16 Dec 2013 19:19:18 +0000 (19:19 +0000)
committerKaelyn Uhrain <rikka@google.com>
Mon, 16 Dec 2013 19:19:18 +0000 (19:19 +0000)
commitc40714ab564a23eb9b7a48de3cd156c69bd1d3ab
tree0747b6309c0dd1578098be9bad26da75fadc3260
parentfed1c6f1e753551a3c21cd50447e3b25c7fba04c
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).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197409 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCXXScopeSpec.cpp
test/SemaCXX/typo-correction-pt2.cpp