]> granicus.if.org Git - clang/commit
Delete the extraneous return statement that was causing my earlier
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Mon, 23 May 2011 23:56:01 +0000 (23:56 +0000)
committerSean Hunt <scshunt@csclub.uwaterloo.ca>
Mon, 23 May 2011 23:56:01 +0000 (23:56 +0000)
commit2545ce1c76236c2277b90dbd4f7d01ef13fe0823
tree29832cd985bec4a1f6356e9a5c62aac078b7202d
parent5f0bcc4c3f4a75375a3571e71bffebf603f4ca67
Delete the extraneous return statement that was causing my earlier
issues and also add a test.

We should now handle defaulted members of templates properly. No
comment as to whether or not this also holds for templated functions,
but defaulting those is kind of insane.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131938 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/CodeGenCXX/cxx0x-defaulted-templates.cpp [new file with mode: 0644]