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/PCHReaderDecl.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/PCHReaderDecl.cpp')
-rw-r--r-- | lib/Frontend/PCHReaderDecl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Frontend/PCHReaderDecl.cpp b/lib/Frontend/PCHReaderDecl.cpp index adf0d1155e..6856623e60 100644 --- a/lib/Frontend/PCHReaderDecl.cpp +++ b/lib/Frontend/PCHReaderDecl.cpp @@ -120,6 +120,7 @@ void PCHDeclReader::VisitTagDecl(TagDecl *TD) { void PCHDeclReader::VisitEnumDecl(EnumDecl *ED) { VisitTagDecl(ED); ED->setIntegerType(Reader.GetType(Record[Idx++])); + // FIXME: C++ InstantiatedFrom } void PCHDeclReader::VisitRecordDecl(RecordDecl *RD) { |