[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)
commitb22a1d186ff5d6bb649e302bc28863e97c0db0bf
tree4c75d72dbc1c25c0eea7a948da213583934253e9
parent8930aab886eed9470bca67425e08455f32590a44
[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%.

llvm-svn: 264540
clang/include/clang/Serialization/ASTReader.h
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp