]> granicus.if.org Git - clang/commit
Enumeration declarations that were instantiated from an enumeration
authorDouglas Gregor <dgregor@apple.com>
Wed, 27 May 2009 17:20:35 +0000 (17:20 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 27 May 2009 17:20:35 +0000 (17:20 +0000)
commit8dbc3c64965f99e48830885835b7d2fc26ec3cf5
treef916a7fe8c5606efe1a4f6a58bc2a2f082436061
parent2bba76b0ec4c2f2134eebb1a2bbfe102f36c2f6e
Enumeration declarations that were instantiated from an enumeration
within a template now have a link back to the enumeration from which
they were instantiated. This means that we can now find the
instantiation of an anonymous enumeration.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72482 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
lib/Frontend/PCHReaderDecl.cpp
lib/Frontend/PCHWriterDecl.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/SemaTemplate/instantiate-declref.cpp