]> granicus.if.org Git - clang/commit
Fix a crasher in Template Diffing.
authorRichard Trieu <rtrieu@google.com>
Wed, 3 Apr 2013 02:22:12 +0000 (02:22 +0000)
committerRichard Trieu <rtrieu@google.com>
Wed, 3 Apr 2013 02:22:12 +0000 (02:22 +0000)
commitfa3d2758653113cd2b5fff06f8ff22eeb669c044
tree27e20d0ff55ef4e68019b670647491f57795c078
parent625785d370f6c0d8262090b8a2abe3799f72d58d
Fix a crasher in Template Diffing.

When support was added for declaration arguments, the case of variadic
declaration arguments was not supported.  This patch fixes that problem by
not crashing when certain ValueDecl's are null.

Patch by Olivier Goffart!

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