]> granicus.if.org Git - clang/commit
Diagnose unexpanded parameter packs in return statements. This
authorDouglas Gregor <dgregor@apple.com>
Fri, 20 May 2011 15:32:55 +0000 (15:32 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 20 May 2011 15:32:55 +0000 (15:32 +0000)
commitfc92137eee708b632c00a9b0934ff87aeae234a5
treed19feab25c2a71ce87782c5c2e92648b3ff02673
parentb65b672c7bd13bc145a2dedc210f46b11858b514
Diagnose unexpanded parameter packs in return statements. This
manifested in a crash with blocks in PR9953, but it was a ticking time
bomb for normal functions, too. Fixes PR9953.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131731 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaStmt.cpp
lib/Sema/TreeTransform.h
test/CXX/temp/temp.decls/temp.variadic/ext-blocks.cpp