commit | 96a914a50cb8c01be8a3b7481cc4791e19c4285b | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Sat Aug 27 22:06:17 2011 +0000 |
committer | John McCall <rjmccall@apple.com> | Sat Aug 27 22:06:17 2011 +0000 |
tree | 47f97a09ee8727cb1389d5543fb661429a3674f1 | |
parent | b8607398a5e1e552f82a86d1d8c3a4031ac4c946 [diff] |
Disable the l-value to r-value conversion on C++ class types passed to varargs functions in unevaluated contexts. AFAICT, there is no standards justification for this, but it matches what other compilers do and therefore preserves compatibility with certain template metaprogramming idioms. Should fix self-host. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138715 91177308-0d34-0410-b5e6-96231b3b80d8