]> granicus.if.org Git - clang/commit
Sema::RequireCompleteType currently attempts to
authorSean Callanan <scallanan@apple.com>
Fri, 16 Dec 2011 00:20:31 +0000 (00:20 +0000)
committerSean Callanan <scallanan@apple.com>
Fri, 16 Dec 2011 00:20:31 +0000 (00:20 +0000)
commitbd79119a50172db92ad3ce77ec3ac3c51e42a126
tree2b22da71916ba90efa79fd2d007c28ec957d84cb
parent99ee0851015f0d334fa319c4ab9e14869520ebe5
Sema::RequireCompleteType currently attempts to
instantiate a class from its template pattern
before it consults the ExternalASTSource.  LLDB
in particular will sometimes provide patterns
that need to be completed first.

To make this possible, I have moved the
completion before the code that does the
instantiation, allowing the ExternalASTSource
to provide the required information.

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