aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r--lib/Sema/Sema.cpp2
1 files changed, 2 insertions, 0 deletions
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<IdentifierInfo*, LabelDecl*>::iterator
I = LabelMap.begin(), E = LabelMap.end(); I != E; ++I) {
LabelDecl *L = I->second;