diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2012-06-29 01:14:21 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2012-06-29 01:14:21 +0000 |
commit | c56b552ff209f9b5ccd81c078dbbadb948eb711e (patch) | |
tree | 7d9cb5d4626db2124ec5705ef9e5830a902673a6 /lib/CodeGen | |
parent | 592a4230c6e91fead00d605f6155080544cdf8c9 (diff) |
Fix PR13234 - crash when trying to report an unsupported ABI feature
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/CGCXXABI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGCXXABI.cpp b/lib/CodeGen/CGCXXABI.cpp index 32393bb817..aba5d755d5 100644 --- a/lib/CodeGen/CGCXXABI.cpp +++ b/lib/CodeGen/CGCXXABI.cpp @@ -23,7 +23,7 @@ static void ErrorUnsupportedABI(CodeGenFunction &CGF, StringRef S) { DiagnosticsEngine &Diags = CGF.CGM.getDiags(); unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, - "cannot yet compile %1 in this ABI"); + "cannot yet compile %0 in this ABI"); Diags.Report(CGF.getContext().getFullLoc(CGF.CurCodeDecl->getLocation()), DiagID) << S; |