Fix for PR21915: assert on multidimensional VLA in function arguments.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 18 Dec 2014 06:54:53 +0000 (06:54 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 18 Dec 2014 06:54:53 +0000 (06:54 +0000)
commit7cb17890114fa63ecdc440e1e2376726cc8fce19
tree401b252be45c875310b09eced9975e0806c7797d
parentf5ba8288ad715d59361704f48bfc0f4a6ded998b
Fix for PR21915: assert on multidimensional VLA in function arguments.
Fixed assertion on type checking for arguments and parameters on function call if arguments are pointers to VLA
Differential Revision: http://reviews.llvm.org/D6655

llvm-svn: 224504
clang/lib/CodeGen/CodeGenFunction.h
clang/test/CodeGen/vlt_to_pointer.c [new file with mode: 0644]
clang/test/CodeGenCXX/vlt_to_reference.cpp [new file with mode: 0644]