summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-04-22 23:14:23 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-04-22 23:14:23 +0000
commite75dc3bcc44a28cc42706c516b614ee5c0406196 (patch)
tree88ad217dcd666ab60147a1207ca56f44ead8f189 /lib/CodeGen/CGExprConstant.cpp
parent7de82546dccd36c6e0f3b04fc055b870045d9b04 (diff)
downloadclang-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/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions