]> granicus.if.org Git - clang/commit
Initial stab at a generalized operation for determining the
authorDouglas Gregor <dgregor@apple.com>
Wed, 27 May 2009 05:35:12 +0000 (05:35 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 27 May 2009 05:35:12 +0000 (05:35 +0000)
commit815215daf8f642b53a28212313fca7b9f77e5b9d
tree69e5ffd49e965203e38e6dfa545c6cb08f300fb9
parent7ff69269cf13583a981b265d4edee689feb4a830
Initial stab at a generalized operation for determining the
instantiation of a declaration from the template version (or version
that lives in a template) and a given set of template arguments. This
needs much, much more testing, but it suffices for simple examples
like

  typedef T* iterator;
  iterator begin();

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72461 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.h
lib/Sema/SemaTemplateInstantiate.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/Sema/SemaTemplateInstantiateExpr.cpp
test/SemaTemplate/example-dynarray.cpp