]> granicus.if.org Git - clang/commit
switch SourceManager from using an std::map and std::list of
authorChris Lattner <sabre@nondot.org>
Tue, 3 Feb 2009 07:30:45 +0000 (07:30 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 3 Feb 2009 07:30:45 +0000 (07:30 +0000)
commit0d0bf8cf58b35302312cc155287fde3e81eb25a7
treef4cd780c4088fdca1bc6e0ab569410b5c22f6c40
parentec9f2bba40687771c027f6a126ba99685b4ecb2f
switch SourceManager from using an std::map and std::list of
ContentCache objects to using a densemap and list, and allocating
the ContentCache objects from a bump pointer.  This does not speed
up or slow down things substantially, but gives us control over
their alignment.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63628 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/CacheTokens.cpp
include/clang/Basic/SourceManager.h
lib/Basic/SourceManager.cpp