aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/DeclGroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AST/DeclGroup.cpp')
-rw-r--r--lib/AST/DeclGroup.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/AST/DeclGroup.cpp b/lib/AST/DeclGroup.cpp
index 5987d5a701..10c39283a6 100644
--- a/lib/AST/DeclGroup.cpp
+++ b/lib/AST/DeclGroup.cpp
@@ -43,17 +43,17 @@ void DeclGroup::Destroy(ASTContext& C) {
}
DeclGroupOwningRef::~DeclGroupOwningRef() {
- assert (ThePtr == 0 && "Destroy method not called.");
+ assert (Raw == 0 && "Destroy method not called.");
}
void DeclGroupOwningRef::Destroy(ASTContext& C) {
- if (!ThePtr)
+ if (!Raw)
return;
if (getKind() == DeclKind)
- reinterpret_cast<Decl*>(ThePtr)->Destroy(C);
+ reinterpret_cast<Decl*>(Raw)->Destroy(C);
else
- reinterpret_cast<DeclGroup*>(ThePtr & ~Mask)->Destroy(C);
+ reinterpret_cast<DeclGroup*>(Raw & ~Mask)->Destroy(C);
- ThePtr = 0;
+ Raw = 0;
}