Skip to content
Commit ff6c4f37 authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

[Sema][ObjC] Ensure that the return type of an ObjC method is a complete

type.

Copy the code in ActOnStartOfFunctionDef that checks a function's return
type to ActOnStartOfObjCMethodDef. This fixes an assertion failure in
IRGen caused by an uninstantiated return type.

rdar://problem/38691818

llvm-svn: 329879
parent bcadfee2
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