aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-07-15 12:10:02 +0000
committerNico Weber <nicolasweber@gmx.de>2019-07-15 12:10:02 +0000
commit7d5100115af5abef4ba53d0a15467695d218d987 (patch)
treef95d7fb37f5075387a77ff3823916e80ea892a36 /clang/lib/Basic/SourceManager.cpp
parent960ff0810da8fe7bb0059acdc4fdc397440eb245 (diff)
downloadllvm-7d5100115af5abef4ba53d0a15467695d218d987.zip
llvm-7d5100115af5abef4ba53d0a15467695d218d987.tar.gz
llvm-7d5100115af5abef4ba53d0a15467695d218d987.tar.bz2
PDB HashTable: Make iterator key type const
Having the hash table key change during iteration is bad, so make it impossible. Nothing relied on the key type not being const. (This is also necessary to be able to call the const version of iterator_facade_base::operator->(). Nothing calls this, and nothing will, but I tried using it locally during development and it took me a while to understand what was going wrong.) Also rename the iterator typedef to const_iterator. No behavior change. Differential Revision: https://reviews.llvm.org/D64641 llvm-svn: 366060
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions