diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-27 17:20:35 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-27 17:20:35 +0000 |
commit | 8dbc3c64965f99e48830885835b7d2fc26ec3cf5 (patch) | |
tree | f916a7fe8c5606efe1a4f6a58bc2a2f082436061 /lib/Frontend/PCHWriterDecl.cpp | |
parent | 2bba76b0ec4c2f2134eebb1a2bbfe102f36c2f6e (diff) |
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
Diffstat (limited to 'lib/Frontend/PCHWriterDecl.cpp')
-rw-r--r-- | lib/Frontend/PCHWriterDecl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Frontend/PCHWriterDecl.cpp b/lib/Frontend/PCHWriterDecl.cpp index 5d08334dee..ef04104316 100644 --- a/lib/Frontend/PCHWriterDecl.cpp +++ b/lib/Frontend/PCHWriterDecl.cpp @@ -116,6 +116,7 @@ void PCHDeclWriter::VisitTagDecl(TagDecl *D) { void PCHDeclWriter::VisitEnumDecl(EnumDecl *D) { VisitTagDecl(D); Writer.AddTypeRef(D->getIntegerType(), Record); + // FIXME: C++ InstantiatedFrom Code = pch::DECL_ENUM; } |