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 | 7a74938fca7e60531d935448739d20d8f420e868 (patch) | |
tree | aa69433aa04a83c65ad8c3f924e34be856f9a750 /clang/lib/Frontend/PCHReaderDecl.cpp | |
parent | f98d9b60dbee3f523541b6f8831d1e549e4b0630 (diff) | |
download | bcm5719-llvm-7a74938fca7e60531d935448739d20d8f420e868.tar.gz bcm5719-llvm-7a74938fca7e60531d935448739d20d8f420e868.zip |
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.
llvm-svn: 72482
Diffstat (limited to 'clang/lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHReaderDecl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHReaderDecl.cpp b/clang/lib/Frontend/PCHReaderDecl.cpp index adf0d1155e2..6856623e60c 100644 --- a/clang/lib/Frontend/PCHReaderDecl.cpp +++ b/clang/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) { |