diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-06-16 01:18:07 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-06-16 01:18:07 +0000 |
commit | 144a2ac89d0eb4938ea7ac388c9e70ff68977eb6 (patch) | |
tree | c64e132d777e653ffa9881f98b49abfb49b8fce6 /clang/lib/Basic/SourceManager.cpp | |
parent | d7291625cc71e4944c5d4d7ae8a71deb45a62725 (diff) | |
download | llvm-144a2ac89d0eb4938ea7ac388c9e70ff68977eb6.zip llvm-144a2ac89d0eb4938ea7ac388c9e70ff68977eb6.tar.gz llvm-144a2ac89d0eb4938ea7ac388c9e70ff68977eb6.tar.bz2 |
Lift the NumElements and NumTombstones members into the super class
rather than the base class. Add a pile of boilerplate to indirect around
this.
This is pretty ugly, but it allows the super class to change the
representation of these values, which will be key for doing
a SmallDenseMap.
Suggestions on better method structuring / naming are welcome, but keep
in mind that SmallDenseMap won't have an 'unsigned' member to expose
a reference to... =/
llvm-svn: 158586
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions