Commits

Doug Gregor committed e2632c1cfa7
[Code completion] Teach code completion to use declarations for postfix completions. Code completion had the ability to use declarations to provide better code completion results for postfix completions, e.g., calls to functions/methods, but it wasn't trying to get these declarations from anywhere. Now, get these declarations from the solution to the constraint system. The impetus for this is to use default-argument information from the declaration rather than the type, but plumbing this information through also means that we get proper "rethrows" annotations, covered by <rdar://problem/21010193>, and more specific completions in a number of other places. Fixes <rdar://problem/21010193>.