diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-03-11 20:50:30 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-03-11 20:50:30 +0000 |
| commit | 4261e4c3633fcb18fc4defe9cbd796b0e57decf1 (patch) | |
| tree | 0e9e80e95cc0a3d494559431ec9192b5992e8a12 /clang/lib/Sema/SemaTemplateInstantiate.cpp | |
| parent | 5202cc00364eaa34db7d45f2c9ae25bbf6f388a1 (diff) | |
| download | bcm5719-llvm-4261e4c3633fcb18fc4defe9cbd796b0e57decf1.tar.gz bcm5719-llvm-4261e4c3633fcb18fc4defe9cbd796b0e57decf1.zip | |
Make sure that we set the access specifier for an instantiated FieldDecl, and that the aggregate and POD flags for an instantiated class template are updated based on instantiation of a FieldDecl
llvm-svn: 66701
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiate.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaTemplateInstantiate.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaTemplateInstantiate.cpp b/clang/lib/Sema/SemaTemplateInstantiate.cpp index 5800ab9265a..343c00b7452 100644 --- a/clang/lib/Sema/SemaTemplateInstantiate.cpp +++ b/clang/lib/Sema/SemaTemplateInstantiate.cpp @@ -718,6 +718,7 @@ Sema::InstantiateClassTemplateSpecialization( Field->getLocation(), Field->isMutable(), Field->getBitWidth(), + Field->getAccess(), 0); if (New) { ClassTemplateSpec->addDecl(New); |

