| commit | d0787ebf5e769ce81c182f8685ca1f6d22d5c592 | [log] [tgz] |
|---|---|---|
| author | Alp Toker <alp@nuanti.com> | Wed Jul 02 01:47:15 2014 +0000 |
| committer | Alp Toker <alp@nuanti.com> | Wed Jul 02 01:47:15 2014 +0000 |
| tree | 28c991916adef4ef6c170eb5a2bb87ae177874fc | |
| parent | 5b336a242c7402f4aecd60ab42f0efa07dacbde8 [diff] |
Introduce a FunctionDecl::getReturnTypeSourceRange() utility This source range is useful for all kinds of diagnostic QOI and refactoring work, so let's make it more discoverable. This commit also makes use of the new function to enhance various diagnostics relating to return types and resolves an old FIXME. llvm-svn: 212154