]> granicus.if.org Git - clang/commit
Function declarations are, in fact, permitted in the init-statement of a for
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 28 Jun 2016 23:26:18 +0000 (23:26 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 28 Jun 2016 23:26:18 +0000 (23:26 +0000)
commitc94b4b5031a1b1eab1e984c0ad9b00af77ab4f37
tree6d05a65975248f9aa8570afb45293a927576aa12
parent82430f7ba146eea7a80b47ab292e746b6f456a2b
Function declarations are, in fact, permitted in the init-statement of a for
loop. Don't confuse Sema by saying they're not.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274080 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/DeclSpec.h
test/SemaCXX/cxx1y-deduced-return-type.cpp