]> granicus.if.org Git - clang/commit
Return the corrected DeclarationName from Sema::CorrectTypo rather
authorDouglas Gregor <dgregor@apple.com>
Wed, 14 Apr 2010 17:09:22 +0000 (17:09 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 14 Apr 2010 17:09:22 +0000 (17:09 +0000)
commit931f98ab919203b8e0f14768b275a7fdf77b392a
tree51f91c3222b53a1c16597bea44925b757663c88f
parentf8f8ebafafa6f4469a44de7a64194f52be1b8f53
Return the corrected DeclarationName from Sema::CorrectTypo rather
than just a bool indicating that correction occurred. No actual
functionality change (it's still always used like a bool), but this
refactoring will be used to support typo correction to keywords.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101259 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.h
lib/Sema/SemaLookup.cpp