If a default argument is a dependent type, get the real type from the desugared
authorRichard Trieu <rtrieu@google.com>
Sat, 20 Jul 2013 03:49:02 +0000 (03:49 +0000)
committerRichard Trieu <rtrieu@google.com>
Sat, 20 Jul 2013 03:49:02 +0000 (03:49 +0000)
commit8ed6f2aacfe83bb823de2eb7975e704b89d1264b
tree3748b85516de6c1884cbfab5de85d3ad6d6649a3
parent08905dd60becc00d1fc65b3048f80891948de66e
If a default argument is a dependent type, get the real type from the desugared
template.  Passing around dependent types can lead to integral arguments that
cannot be evaluated.

llvm-svn: 186757
clang/lib/AST/ASTDiagnostic.cpp
clang/test/Misc/diag-template-diffing.cpp