summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExceptionSpec.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-31 17:25:35 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-31 17:25:35 +0000
commit30e631862f647b5eb7c05b25248d960d7ecae20b (patch)
treea32c221a34079b6bdfd525ef601fbdb717212875 /clang/lib/Sema/SemaExceptionSpec.cpp
parent4cd5866f8ead15aa2634bd63bff4975aa2e395fb (diff)
downloadbcm5719-llvm-30e631862f647b5eb7c05b25248d960d7ecae20b.tar.gz
bcm5719-llvm-30e631862f647b5eb7c05b25248d960d7ecae20b.zip
Revert r100008, which inexplicably breaks the clang-i686-darwin10 builder
llvm-svn: 100018
Diffstat (limited to 'clang/lib/Sema/SemaExceptionSpec.cpp')
-rw-r--r--clang/lib/Sema/SemaExceptionSpec.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExceptionSpec.cpp b/clang/lib/Sema/SemaExceptionSpec.cpp
index 53e9385749f..fab94df4d04 100644
--- a/clang/lib/Sema/SemaExceptionSpec.cpp
+++ b/clang/lib/Sema/SemaExceptionSpec.cpp
@@ -210,7 +210,8 @@ bool Sema::CheckEquivalentExceptionSpec(FunctionDecl *Old, FunctionDecl *New) {
// late-specified return types.
Diag(New->getLocation(), diag::warn_missing_exception_specification)
<< New << OS.str()
- << FixItHint::CreateInsertion(AfterParenLoc, " " + OS.str().str());
+ << CodeModificationHint::CreateInsertion(AfterParenLoc,
+ " " + OS.str().str());
}
if (!Old->getLocation().isInvalid())
OpenPOWER on IntegriCloud