Commit c0d04a25 authored by Richard Smith's avatar Richard Smith
Browse files

Fix rejects-valid on constexpr function that accesses a not-yet-defined 'extern

const' variable. That variable might be defined as 'constexpr', so we cannot
prove that a use of it could never be a constant expression.

llvm-svn: 270774
parent dca7651d
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