Skip to content
Commit 2f36dae5 authored by Richard Smith's avatar Richard Smith
Browse files

When determining whether to try evaluating the initializer of a variable, check

whether the initializer is value-dependent rather than whether we are in a
dependent context. This allows us to detect some errors sooner, and fixes a
crash-on-invalid if a dependent type leaks out to a non-dependent context in
error recovery.

llvm-svn: 166898
parent 3589dd74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment