summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-04-30 18:21:31 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-04-30 18:21:31 +0000
commitf68e809c5e8629a0b2cff8ca726c351c78c31fbf (patch)
tree40a9e432430fcb6c0bc9b23cf2f2b9d72bb5f18b /clang/lib/CodeGen/ModuleBuilder.cpp
parent205b068975223ed9827682bab3e1f9562812ed20 (diff)
downloadbcm5719-llvm-f68e809c5e8629a0b2cff8ca726c351c78c31fbf.tar.gz
bcm5719-llvm-f68e809c5e8629a0b2cff8ca726c351c78c31fbf.zip
Fix PR12378: provide conversion warnings on default args of function templates
Apparently we weren't checking default arguments when they were instantiated. This adds the check, fixes the lack of instantiation caching (which seems like it was mostly implemented but just missed the last step), and avoids implementing non-dependent default args (for non-dependent parameter types) as uninstantiated default arguments (so that we don't warn once for every instantiation when it's not instantiation dependent). Reviewed by Richard Smith. llvm-svn: 155838
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud