summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorFaisal Vali <faisalv@yahoo.com>2013-06-15 11:54:37 +0000
committerFaisal Vali <faisalv@yahoo.com>2013-06-15 11:54:37 +0000
commitd570a9282fd1793cbf21c090d80cb0b6b4b89982 (patch)
tree0714848947734bd7487a1367f34f2f7be8710627 /lib/CodeGen/CodeGenFunction.cpp
parent04491635b1b497c08f6b04afbf83887718a6d667 (diff)
downloadclang-d570a9282fd1793cbf21c090d80cb0b6b4b89982.tar.gz
clang-d570a9282fd1793cbf21c090d80cb0b6b4b89982.tar.bz2
clang-d570a9282fd1793cbf21c090d80cb0b6b4b89982.tar.xz
A quick fix to allow return type deduction on member templates
by ensuring DiagnoseUseOfDecl is called both on the found decl and the decl being used (i.e the specialization in the case of member templates) whenever they are different. Per the exchange captured in http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130610/081636.html a more comprehensive fix that allows both decls to be passed into DiagnoseUseOfDecl is (or should be) forthcoming relatively soon. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184043 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions