]> granicus.if.org Git - clang/commitdiff
add a fixme
authorChris Lattner <sabre@nondot.org>
Thu, 17 Feb 2011 20:54:00 +0000 (20:54 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 17 Feb 2011 20:54:00 +0000 (20:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125772 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/Sema.cpp

index 049267ae36a28462eba9ff3e6003f43a2a6080fa..be78024031cafef8e1edb3f9c679e70a393536bb 100644 (file)
@@ -53,6 +53,8 @@ void FunctionScopeInfo::Clear() {
 
 bool FunctionScopeInfo::checkLabelUse(Stmt *Body, Sema &S) {
   bool AnyErrors = false;
+  // FIXME: The iteration order of this (and thus, the order of errors and
+  // warnings produced) is nondeterminstic.
   for (llvm::DenseMap<IdentifierInfo*, LabelDecl*>::iterator
        I = LabelMap.begin(), E = LabelMap.end(); I != E; ++I) {
     LabelDecl *L = I->second;