From: Chris Lattner Date: Thu, 17 Feb 2011 20:54:00 +0000 (+0000) Subject: add a fixme X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c24e4b9ce213c1ea4cb50865ff7901f06dc26d6a;p=clang add a fixme git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125772 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index 049267ae36..be78024031 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -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::iterator I = LabelMap.begin(), E = LabelMap.end(); I != E; ++I) { LabelDecl *L = I->second;