Skip to content
Commit d5489074 authored by Serge Pavlov's avatar Serge Pavlov
Browse files

Avoid getting an argument of allocation function if it does not exist.

This is a fix to PR12778: in erroneous code an allocation function
can be declared with no arguments, quering the first argument in this case
causes assertion violation.

llvm-svn: 190751
parent 042f10ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment