]> granicus.if.org Git - clang/commit
[modules] When encoding SourceLocations in bitcode, rotate the 'is macro' flag
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 27 Mar 2016 20:13:24 +0000 (20:13 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 27 Mar 2016 20:13:24 +0000 (20:13 +0000)
commitdad0894ee3ac268030befe1dbd1f2417d38dfbce
treea1a5a393097827e774f3ec1342c6d2dfd5d96454
parenteea41b3dad791f5544b77d36b2549530bb690825
[modules] When encoding SourceLocations in bitcode, rotate the 'is macro' flag
bit from the top bit to the bottom bit, so that we don't need 6 VBR6 hunks for
each macro location. Reduces libstdc++ module size by about 1%.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264540 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/ASTReader.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp