[cfe-commits] r125772 - /cfe/trunk/lib/Sema/Sema.cpp
Chris Lattner
sabre at nondot.org
Thu Feb 17 12:54:01 PST 2011
Author: lattner
Date: Thu Feb 17 14:54:00 2011
New Revision: 125772
URL: http://llvm.org/viewvc/llvm-project?rev=125772&view=rev
Log:
add a fixme
Modified:
cfe/trunk/lib/Sema/Sema.cpp
Modified: cfe/trunk/lib/Sema/Sema.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/Sema.cpp?rev=125772&r1=125771&r2=125772&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/Sema.cpp (original)
+++ cfe/trunk/lib/Sema/Sema.cpp Thu Feb 17 14:54:00 2011
@@ -53,6 +53,8 @@
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;
More information about the cfe-commits
mailing list