aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/Warnings.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2013-03-15 23:55:09 +0000
committerRichard Trieu <rtrieu@google.com>2013-03-15 23:55:09 +0000
commit70e82dc7a254054f0de491493489da162e63c364 (patch)
treeda4d657969abca5c803808a0573526c5db78c594 /lib/Frontend/Warnings.cpp
parent0621c45dcd4c5f43df0de5a2febae525d3287b74 (diff)
Improve template diffing handling of default integer values.
When the template argument is both default and value dependent, the expression retrieved for the default argument cannot be evaluated, thus never matching any argument value. To get the proper value, get the template argument from the desugared template specialization. Also, output the original expression to provide more information about the argument mismatch. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177209 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/Warnings.cpp')
0 files changed, 0 insertions, 0 deletions