]> granicus.if.org Git - clang/commit
Use unsigned instead of an enum for map keys
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Wed, 9 Aug 2017 21:20:41 +0000 (21:20 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Wed, 9 Aug 2017 21:20:41 +0000 (21:20 +0000)
commit869572fe0ab25b9ebf928079bcb84110534c48d7
tree39c785fb84bb1e4dd58c5f5b973f5fb3a96535aa
parent1ce5afe7e40266a14a2a0dbd2acbe45f78e60379
Use unsigned instead of an enum for map keys

ubsan's enum sanitizer doesn't like the latter, and we had to have
out-of-bounds values for DenseMapInfo's tombstone/empty keys.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310523 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Linkage.h