]> granicus.if.org Git - clang/commit
Fixed two places where we needed to force completion of a type
authorDouglas Gregor <dgregor@apple.com>
Thu, 5 Nov 2009 13:06:35 +0000 (13:06 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 5 Nov 2009 13:06:35 +0000 (13:06 +0000)
commit393896f49d5248435cf203cf1de60a86dc507c44
tree2d1266a6f4ce90085c4b8104f62752dbca8bfffb
parentb13c87f0c9705d91d5a3e134be9934c9ad531071
Fixed two places where we needed to force completion of a type
(without complaining if it fails) to get proper semantics: reference
binding with a derived-to-base conversion and the enumeration of
constructors for user-defined conversions. There are probably more
cases to fix, but my prior attempt at statically ensuring that
complete-type checking always happens failed. Perhaps I'll try again.

With this change, Clang can parse include/llvm/*.h!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86129 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.h
lib/Sema/SemaCXXCast.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaOverload.cpp
test/SemaTemplate/instantiate-complete.cpp
utils/C++Tests/LLVM-Syntax/lit.local.cfg