[PATCH] Fix DiagnosticErrorTrap with SuppressAllDiagnostics
Brad King
brad.king at kitware.com
Tue Nov 25 12:12:02 PST 2014
Hi Folks,
On 11/20/2014 09:27 AM, Brad King wrote [1]:
> SuppressAllDiagnostics prevents DiagnosticErrorTrap from working
> so any analysis in Clang that uses traps fails to work correctly.
Here is a patch that fixes this problem and adds a test covering the
use case. See commit message in the patch file for details. I've
tested it on r222772.
Thanks,
-Brad
[1] http://thread.gmane.org/gmane.comp.compilers.clang.scm/110832/focus=112180
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-DiagnosticErrorTrap-with-SuppressAllDiagnostics.patch
Type: text/x-diff
Size: 4842 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141125/21f8520a/attachment.patch>
More information about the cfe-commits
mailing list