]> granicus.if.org Git - clang/commit
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)
commit03bf10dc4f245a17ee4f702461cba5120cc4d09b
tree0d01c5875f1d186e80050d427f20def1375f3fd0
parent654005265b1faab223f055bff3dd254476df7ff5
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.

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