summaryrefslogtreecommitdiffstats
path: root/clang/test/FixIt/typo-location-bugs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use the real CXXScopeSpec when setting the correction SourceRange.Kaelyn Takata2015-01-281-0/+13
| | | | | | | | | Otherwise, in the most important case and the only case where SS and TempSS are different (which is when the CXXScopeSpec should be dropped, and TempSS is NULL) the wrong SourceRange will be used in the fixit for the typo correction. Fixes the remaining issue in PR20626. llvm-svn: 227278
* Apply the typo correction replacement location fix from r191450 to theKaelyn Uhrain2014-01-281-0/+15
| | | | | | | | case when correcting for too many arguments (r191450 had only fixed the problem for when there were too few arguments). Also fix the underlining for both cases. llvm-svn: 200268
* Fix a bug in the typo correction replacement location.Kaelyn Uhrain2013-09-261-0/+21
I noticed the wrong text was being replaced with the correction while working on expanding the "namespace-aware" typo correction to include classes. llvm-svn: 191450
OpenPOWER on IntegriCloud