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

Constant expression evaluation: evaluate lvalues as lvalues, and rvalues as

rvalues, as C++11 constant evaluation semantics require. DeclRefs referring to
references can now use the normal initialization-caching codepath, which
incidentally fixes a crash in cyclic initialization of references.

llvm-svn: 142844
parent a58fb48a
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