[cfe-commits] r143088 - /cfe/trunk/lib/Sema/SemaDecl.cpp
Argyrios Kyrtzidis
akyrtzi at gmail.com
Wed Oct 26 17:53:06 PDT 2011
Author: akirtzidis
Date: Wed Oct 26 19:53:06 2011
New Revision: 143088
URL: http://llvm.org/viewvc/llvm-project?rev=143088&view=rev
Log:
Make use of the parameter in Sema::ActOnObjCTemporaryExitContainerContext.
Modified:
cfe/trunk/lib/Sema/SemaDecl.cpp
Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=143088&r1=143087&r2=143088&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Wed Oct 26 19:53:06 2011
@@ -8288,7 +8288,8 @@
}
void Sema::ActOnObjCTemporaryExitContainerContext(DeclContext *DC) {
- OriginalLexicalContext = CurContext;
+ assert(DC == CurContext && "Mismatch of container contexts");
+ OriginalLexicalContext = DC;
ActOnObjCContainerFinishDefinition();
}
More information about the cfe-commits
mailing list