diff options
Diffstat (limited to 'lib/AST/TranslationUnit.cpp')
-rw-r--r-- | lib/AST/TranslationUnit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/AST/TranslationUnit.cpp b/lib/AST/TranslationUnit.cpp index adf687678a..c02db82dab 100644 --- a/lib/AST/TranslationUnit.cpp +++ b/lib/AST/TranslationUnit.cpp @@ -46,8 +46,8 @@ TranslationUnit::~TranslationUnit() { // eventually be fixed when the ownership of ObjCPropertyDecls gets // cleaned up. if (ObjCInterfaceDecl* IDecl = dyn_cast<ObjCInterfaceDecl>(*I)) - for (ObjCInterfaceDecl::classprop_iterator ID=IDecl->classprop_begin(), - ED=IDecl->classprop_end(); ID!=ED; ++ID) { + for (ObjCInterfaceDecl::prop_iterator ID=IDecl->prop_begin(), + ED=IDecl->prop_end(); ID!=ED; ++ID) { if (!*ID || Killed.count(*ID)) continue; Killed.insert(*ID); (*ID)->Destroy(*Context); @@ -59,8 +59,8 @@ TranslationUnit::~TranslationUnit() { // eventually be fixed when the ownership of ObjCPropertyDecls gets // cleaned up. if (ObjCProtocolDecl* PDecl = dyn_cast<ObjCProtocolDecl>(*I)) - for (ObjCProtocolDecl::classprop_iterator ID=PDecl->classprop_begin(), - ED=PDecl->classprop_end(); ID!=ED; ++ID) { + for (ObjCProtocolDecl::prop_iterator ID=PDecl->prop_begin(), + ED=PDecl->prop_end(); ID!=ED; ++ID) { if (!*ID || Killed.count(*ID)) continue; Killed.insert(*ID); (*ID)->Destroy(*Context); |