]> granicus.if.org Git - clang/commit
Use a safe default width for template-diff'ing integral arguments, in
authorDouglas Gregor <dgregor@apple.com>
Fri, 21 Dec 2012 23:03:27 +0000 (23:03 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 21 Dec 2012 23:03:27 +0000 (23:03 +0000)
commit335153679daf37c13a8c89266056b4be061e34e3
tree23561b31ed9ce97012fd0baec920979621e458fa
parent9b3f02c3526e31fcb9c41afef143eae73643e257
Use a safe default width for template-diff'ing integral arguments, in
case we can't find an exact width to use. Fixes crash in
<rdar://problem/12456626>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170951 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTDiagnostic.cpp
test/Misc/diag-template-diffing.cpp