summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-06-05 01:39:57 +0000
committerJeffrey Yasskin <jyasskin@google.com>2010-06-05 01:39:57 +0000
commit2f96e9f5c90d5ad52734ca2b7a2aa68bf642a3a0 (patch)
treef96c496cd803e82c658fd6fecc2d9fd0bd1399e4 /llvm/lib/Target
parent0501b03242925e5d75a5e8478ae6e3b3aac5d3f1 (diff)
downloadbcm5719-llvm-2f96e9f5c90d5ad52734ca2b7a2aa68bf642a3a0.tar.gz
bcm5719-llvm-2f96e9f5c90d5ad52734ca2b7a2aa68bf642a3a0.zip
Add an extension to avoid an error when a global template has the same name as
a member template, and you try to call the member template with an explicit template argument. See PR7247 For example, this downgrades the error to a warning in: template<typename T> struct set{}; struct Value { template<typename T> void set(T value) { } }; void foo() { Value v; v.set<double>(3.2); // Warning here. } llvm-svn: 105518
Diffstat (limited to 'llvm/lib/Target')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud