Commit 06ffb45c authored by Richard Smith's avatar Richard Smith
Browse files

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.

llvm-svn: 206929
parent 637cac42
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment