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/PCHWriterDecl.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/PCHWriterDecl.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHWriterDecl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHWriterDecl.cpp b/clang/lib/Frontend/PCHWriterDecl.cpp index 5d08334dee8..ef041043169 100644 --- a/clang/lib/Frontend/PCHWriterDecl.cpp +++ b/clang/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; } |