]> granicus.if.org Git - clang/commit
MSVC doesn't require an accessible copy-constructor when binding a temporary class...
authorFrancois Pichet <pichet2000@gmail.com>
Fri, 31 Dec 2010 10:43:42 +0000 (10:43 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Fri, 31 Dec 2010 10:43:42 +0000 (10:43 +0000)
commitf57258bb96799957085080027a9c9eefe36c3417
tree7710943ac5d3318945317d03cc19ae13afbc7879
parent0ec89f928ce5b3294c2ed644ec1a42656e1af39d
MSVC doesn't require an accessible copy-constructor when binding a temporary class object to a const-reference.
Note: this is not a C++0x behavior change, it was already like that in MSVC 2003.

This fixes a compile error when parsing MSVC header files with clang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122644 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaInit.cpp