diff options
author | Chris Lattner <sabre@nondot.org> | 2011-02-17 20:54:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-02-17 20:54:00 +0000 |
commit | d28cc8113b0241eae56cdd1b13a2634ac2045d86 (patch) | |
tree | ae9f932c8f7ef33858362095026990cf700cc5fa /clang/lib | |
parent | cab02a60d231b8ca4df80f88689827d8b4cea95e (diff) | |
download | bcm5719-llvm-d28cc8113b0241eae56cdd1b13a2634ac2045d86.tar.gz bcm5719-llvm-d28cc8113b0241eae56cdd1b13a2634ac2045d86.zip |
add a fixme
llvm-svn: 125772
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Sema/Sema.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.cpp b/clang/lib/Sema/Sema.cpp index 049267ae36a..be78024031c 100644 --- a/clang/lib/Sema/Sema.cpp +++ b/clang/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; |