]> granicus.if.org Git - clang/commit
PR13433: In Microsoft mode, don't require function calls within decltype
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 28 Jul 2012 19:54:11 +0000 (19:54 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 28 Jul 2012 19:54:11 +0000 (19:54 +0000)
commitd22f0847a95938203fe12ab50bfc33d79c664a77
tree339739ec1ffcdadebf471873c3ca3706a157f2d4
parent74cb390d238b55cede882ef5f598215c3537ae95
PR13433: In Microsoft mode, don't require function calls within decltype
expressions to have complete return types (or accessible destructors). If the
return type is required to be complete for some other reason (for instance, if
it is needed by overload resolution), then it will still be required to be
complete. This is apparently required in order to parse a MSVC11 header.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160924 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprCXX.cpp
test/SemaCXX/microsoft-cxx0x.cpp