diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2007-12-13 00:54:18 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2007-12-13 00:54:18 +0000 |
| commit | 885890a47a4c9ddc0bb4513b5b4e8eff38cd0893 (patch) | |
| tree | 48d3acc2a723950e249060892d7102b2be42a110 /clang/AST/DeclSerialization.cpp | |
| parent | 827d30db190ceb3642b72dced806308facdc9df7 (diff) | |
| download | bcm5719-llvm-885890a47a4c9ddc0bb4513b5b4e8eff38cd0893.tar.gz bcm5719-llvm-885890a47a4c9ddc0bb4513b5b4e8eff38cd0893.zip | |
Moved ObjcDeclQualifier to ParmVarDecl from VarDecl.
Ted, this change necessitates (de)/serialization of ParmVarDecl.
llvm-svn: 44972
Diffstat (limited to 'clang/AST/DeclSerialization.cpp')
| -rw-r--r-- | clang/AST/DeclSerialization.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/clang/AST/DeclSerialization.cpp b/clang/AST/DeclSerialization.cpp index 16654bbe665..f2ed75b4b56 100644 --- a/clang/AST/DeclSerialization.cpp +++ b/clang/AST/DeclSerialization.cpp @@ -146,13 +146,15 @@ void ValueDecl::ReadInRec(Deserializer& D) { void VarDecl::EmitInRec(Serializer& S) const { ValueDecl::EmitInRec(S); S.EmitInt(getStorageClass()); // From VarDecl. - S.EmitInt(getObjcDeclQualifier()); // From VarDecl. + // FIXME: This is now in ParmVarDecl + // S.EmitInt(getObjcDeclQualifier()); // From VarDecl. } void VarDecl::ReadInRec(Deserializer& D) { ValueDecl::ReadInRec(D); - SClass = static_cast<StorageClass>(D.ReadInt()); // From VarDecl. - objcDeclQualifier = static_cast<ObjcDeclQualifier>(D.ReadInt()); // VarDecl. + SClass = static_cast<StorageClass>(D.ReadInt()); // From VarDecl. + // FIXME: This is now in ParmVarDecl + // objcDeclQualifier = static_cast<ObjcDeclQualifier>(D.ReadInt()); // VarDecl. } //===------------------------------------------------------------===// |

