diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-04-22 23:14:23 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-04-22 23:14:23 +0000 |
| commit | e75dc3bcc44a28cc42706c516b614ee5c0406196 (patch) | |
| tree | 88ad217dcd666ab60147a1207ca56f44ead8f189 /lib/Basic/Module.cpp | |
| parent | 7de82546dccd36c6e0f3b04fc055b870045d9b04 (diff) | |
| download | clang-e75dc3bcc44a28cc42706c516b614ee5c0406196.tar.gz clang-e75dc3bcc44a28cc42706c516b614ee5c0406196.tar.bz2 clang-e75dc3bcc44a28cc42706c516b614ee5c0406196.tar.xz | |
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
Diffstat (limited to 'lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions
