commit | e75dc3bcc44a28cc42706c516b614ee5c0406196 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Apr 22 23:14:23 2014 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Apr 22 23:14:23 2014 +0000 |
tree | 88ad217dcd666ab60147a1207ca56f44ead8f189 | |
parent | 7de82546dccd36c6e0f3b04fc055b870045d9b04 [diff] |
PR18746: If a constexpr function has a dependent return type and no return statements, don't diagnose; the return type might end up being 'void'. Patch by Rahul Jain! Tiny tweaks by me. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206929 91177308-0d34-0410-b5e6-96231b3b80d8