aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-02-17 20:54:00 +0000
committerChris Lattner <sabre@nondot.org>2011-02-17 20:54:00 +0000
commitc24e4b9ce213c1ea4cb50865ff7901f06dc26d6a (patch)
treeb6660ede7967e5c62db74c6ba4e15911d2005876 /lib/Sema/Sema.cpp
parent57ad37823e198f977cac605dbfbaefb4daf325e9 (diff)
add a fixme
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125772 91177308-0d34-0410-b5e6-96231b3b80d8
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;