diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-07-20 22:03:28 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-07-20 22:03:28 +0000 |
commit | d12df6b16001652a05d3d4d066b0fbc207a8a794 (patch) | |
tree | 8845ca8a87fa92c4058e4e4bceb398a9cbedc370 /clang/lib/Frontend/PCHReaderDecl.cpp | |
parent | 40c68ad3bb8c0c663f9e7af8f9bfa787f238f48e (diff) | |
download | bcm5719-llvm-d12df6b16001652a05d3d4d066b0fbc207a8a794.tar.gz bcm5719-llvm-d12df6b16001652a05d3d4d066b0fbc207a8a794.zip |
Reuse VarDecl::Init to store the default argument of a ParmVarDecl,
reducing the size of ParmVarDecl by one pointer. Also means that we'll
properly (de-)serialize default arguments in C++ PCH files.
llvm-svn: 76487
Diffstat (limited to 'clang/lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHReaderDecl.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Frontend/PCHReaderDecl.cpp b/clang/lib/Frontend/PCHReaderDecl.cpp index 8df245a4b2f..f2b7bdd70e2 100644 --- a/clang/lib/Frontend/PCHReaderDecl.cpp +++ b/clang/lib/Frontend/PCHReaderDecl.cpp @@ -358,7 +358,6 @@ void PCHDeclReader::VisitImplicitParamDecl(ImplicitParamDecl *PD) { void PCHDeclReader::VisitParmVarDecl(ParmVarDecl *PD) { VisitVarDecl(PD); PD->setObjCDeclQualifier((Decl::ObjCDeclQualifier)Record[Idx++]); - // FIXME: default argument (C++ only) } void PCHDeclReader::VisitOriginalParmVarDecl(OriginalParmVarDecl *PD) { |