Correctly set the SourceRange a TypoCorrection will replace.
authorKaelyn Takata <rikka@google.com>
Thu, 20 Nov 2014 22:06:26 +0000 (22:06 +0000)
committerKaelyn Takata <rikka@google.com>
Thu, 20 Nov 2014 22:06:26 +0000 (22:06 +0000)
commit0a31302fa11726ca749548a198eb3e98fbc59549
tree33de6a9c2218828bf79d810967b03091df9bd7c6
parentc0b4d5a1f622f33ba99f2da492898130bf649d8a
Correctly set the SourceRange a TypoCorrection will replace.

Also clean up TypoCorrection::setCorrectionRange while we're at it.

llvm-svn: 222460
clang/include/clang/Sema/TypoCorrection.h
clang/lib/Sema/SemaLookup.cpp