]> granicus.if.org Git - clang/commit
Make sure to use RequireCompleteType rather than testing for
authorDouglas Gregor <dgregor@apple.com>
Tue, 24 Mar 2009 19:52:54 +0000 (19:52 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 24 Mar 2009 19:52:54 +0000 (19:52 +0000)
commite7450f5dbd5bed63b8ef9db86350a8fc3db011e8
tree61d7b8565db05760fb505fa9c25af4ed13e48bbf
parent6256d3654533547a7996170647c21a859cb441e1
Make sure to use RequireCompleteType rather than testing for
incomplete types. RequireCompleteType is needed when the type may be
completed by instantiating a template.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67643 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
test/Sema/function.c
test/Sema/typecheck-binop.c
test/SemaCXX/member-pointer.cpp
test/SemaCXX/new-delete.cpp
test/SemaTemplate/instantiate-complete.cpp [new file with mode: 0644]