]> granicus.if.org Git - clang/commit
Don't correct non-class using declarations to class members.
authorKaelyn Takata <rikka@google.com>
Wed, 30 Sep 2015 18:23:35 +0000 (18:23 +0000)
committerKaelyn Takata <rikka@google.com>
Wed, 30 Sep 2015 18:23:35 +0000 (18:23 +0000)
commit3e3844fd5af8facb74f34a1b381008c7096324eb
tree7ef08797ef1089599265ab7d31d0004550aa3cc1
parent41f1777a09480c6cc3f388e0a2cc48cd1f56cf2f
Don't correct non-class using declarations to class members.

Such declarations would be invalid anyway, and trying to make the
correction will lead to a crash. Fixes PR 24781.

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