]> granicus.if.org Git - clang/commit
PR13652: Don't assume the parameter array on a FunctionTypeLoc for a lambda will
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 30 Aug 2012 13:13:20 +0000 (13:13 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 30 Aug 2012 13:13:20 +0000 (13:13 +0000)
commit3bc22262af7b09a459b400976cfce3d9318b8ea9
tree51faf4fec3ac6fc33106849387c6b60f9c40d518
parent6f79420b8650c807a8c3f6c553d6bb9319139c8d
PR13652: Don't assume the parameter array on a FunctionTypeLoc for a lambda will
be filled in; they won't if the lambda's declarator has an invalid type. Instead
take the parameters from the declarator directly.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162904 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaLambda.cpp
test/Parser/cxx0x-lambda-expressions.cpp