HomePhabricator

[Sema] Handle errors during rewriteBuiltinFunctionDecl

Authored by majnemer on Jul 21 2016, 4:03 PM.

Description

[Sema] Handle errors during rewriteBuiltinFunctionDecl

rewriteBuiltinFunctionDecl can encounter errors when performing
DefaultFunctionArrayLvalueConversion. These errors were not handled
which led to a null pointer dereference.

This fixes PR28651.

llvm-svn: 276352

Details