Reinstate my CodeModificationHint -> FixItHint renaming patch, without

the C-only "optimization".

llvm-svn: 100022
This commit is contained in:
Douglas Gregor
2010-03-31 17:46:05 +00:00
parent c1d2d8a014
commit a771f46c82
32 changed files with 201 additions and 230 deletions

View File

@@ -210,8 +210,7 @@ bool Sema::CheckEquivalentExceptionSpec(FunctionDecl *Old, FunctionDecl *New) {
// late-specified return types.
Diag(New->getLocation(), diag::warn_missing_exception_specification)
<< New << OS.str()
<< CodeModificationHint::CreateInsertion(AfterParenLoc,
" " + OS.str().str());
<< FixItHint::CreateInsertion(AfterParenLoc, " " + OS.str().str());
}
if (!Old->getLocation().isInvalid())