diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-03-31 17:25:35 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-03-31 17:25:35 +0000 |
commit | 275313cbb0847f1f117f60d144d113804d4fa42d (patch) | |
tree | c0408861e801f2a9506031acaee9ef9b8300c202 /lib/Sema/SemaExceptionSpec.cpp | |
parent | d0ebe080eee7c37e73754068b47fd90cc506e128 (diff) |
Revert r100008, which inexplicably breaks the clang-i686-darwin10 builder
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100018 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExceptionSpec.cpp')
-rw-r--r-- | lib/Sema/SemaExceptionSpec.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/SemaExceptionSpec.cpp b/lib/Sema/SemaExceptionSpec.cpp index 53e9385749..fab94df4d0 100644 --- a/lib/Sema/SemaExceptionSpec.cpp +++ b/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()) |