]> granicus.if.org Git - clang/commit
Implement template instantiation for exception specifications. Also,
authorDouglas Gregor <dgregor@apple.com>
Tue, 8 Dec 2009 17:45:32 +0000 (17:45 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 8 Dec 2009 17:45:32 +0000 (17:45 +0000)
commit0ae7b3f1d5403265f693ed75384603ca8fbba74d
tree5551031460d1b0cdb7ad8a752c21d21f239e265f
parent7b682656310b0d7e94a98d982444bc7ddedc653f
Implement template instantiation for exception specifications. Also,
print exception specifications on function types and
declarations. Fixes <rdar://problem/7450999>.

There is some poor source-location information here, because we don't
track locations of the types in exception specifications. Filed PR5719.

Failures during template instantiation of the signature of a function
or function template have wrong point-of-instantiation location
information. I'll tackle that with a separate commit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90863 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/DeclPrinter.cpp
lib/AST/TypePrinter.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/SemaTemplate/instantiate-exception-spec.cpp [new file with mode: 0644]