summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-03-09 02:00:54 +0000
committerRui Ueyama <ruiu@google.com>2015-03-09 02:00:54 +0000
commit4cefbd8b7209d1b82c4c811ecd6421f516b93107 (patch)
treefa6bba162c19857540c79b1366305d73fa118f0d /clang/lib/Parse/ParseDecl.cpp
parentdc3f01e9cfc098bb2a55b103396eb3f0464b0c7a (diff)
downloadbcm5719-llvm-4cefbd8b7209d1b82c4c811ecd6421f516b93107.tar.gz
bcm5719-llvm-4cefbd8b7209d1b82c4c811ecd6421f516b93107.zip
Resolver: Fix incorrect DenseMap mapping info.
Previously, getEmptyKey and getTombstoneKey return the same value in the sense of isEqual defined by the same class, although they need to be distinct values. This could confuse DenseMap. We didn't see any issue by this wrong code because we don't delete elements from the symbol table. We only add or replace elements. But this is a bug and needs to be fixed anyway. llvm-svn: 231618
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud