diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-22 18:39:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-22 18:39:57 +0000 |
commit | 9fdf9c6d3530bb85f3166e6460d841e2ff8e1a2c (patch) | |
tree | dd6acdccfa4e434bf9f8dff0c5bf095e53977e1b /lib/AST/DeclSerialization.cpp | |
parent | 5585114307b6ba4874546212cb6e5399cfff7ffb (diff) |
"This patch renames
DeclContext *CtxDecl -> DeclContext *DeclCtx
DeclContext *CD -> DeclContext *DC
It makes the code more consistent."
Patch by Zhongxing Xu!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50105 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclSerialization.cpp')
-rw-r--r-- | lib/AST/DeclSerialization.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/DeclSerialization.cpp b/lib/AST/DeclSerialization.cpp index e7442ff51c..6186649e70 100644 --- a/lib/AST/DeclSerialization.cpp +++ b/lib/AST/DeclSerialization.cpp @@ -115,7 +115,7 @@ void ScopedDecl::ReadInRec(Deserializer& D, ASTContext& C) { D.ReadPtr(Next); // From ScopedDecl. Decl *TmpD; D.ReadPtr(TmpD); // From ScopedDecl. - CtxDecl = cast_or_null<DeclContext>(TmpD); + DeclCtx = cast_or_null<DeclContext>(TmpD); } //===------------------------------------------------------------===// |