]> granicus.if.org Git - clang/commit
Fix a silly bug in the suppression of non-error diagnostics in a
authorDouglas Gregor <dgregor@apple.com>
Wed, 13 Oct 2010 17:22:14 +0000 (17:22 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 13 Oct 2010 17:22:14 +0000 (17:22 +0000)
commitb535041ee33c5eff255832bc5541c8d52aae8254
tree5e2d6d3f5d283e693da17f28cfd9014da894c8d6
parent35495eb14f22c4e96956912e23ca2a433227ad8c
Fix a silly bug in the suppression of non-error diagnostics in a
SFINAE context, where we weren't getting the right diagnostic argument
count. I blame DiagnosticBuilder's weirdness. Fixes PR8372.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116411 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Diagnostic.h
lib/Basic/Diagnostic.cpp
lib/Sema/Sema.cpp
test/SemaTemplate/temp_arg_nontype.cpp