aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-01-17 01:24:32 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-01-17 01:24:32 +0000
commit6ccbdcda36e5d2dc995a5205befe0848eb4b92ea (patch)
treeccb2d78213a20e474bfac856e1653b261ff5e6c2 /clang/lib/Basic/Module.cpp
parent4f97786e1606f185c0652dddfa702450f80bd799 (diff)
downloadllvm-6ccbdcda36e5d2dc995a5205befe0848eb4b92ea.zip
llvm-6ccbdcda36e5d2dc995a5205befe0848eb4b92ea.tar.gz
llvm-6ccbdcda36e5d2dc995a5205befe0848eb4b92ea.tar.bz2
Add portable bit mask operations to BitVector.
BitVector uses the native word size for its internal representation. That doesn't work well for literal bit masks in source code. This patch adds BitVector operations to efficiently apply literal bit masks specified as arrays of uint32_t. Since each array entry always holds exactly 32 bits, these portable bit masks can be source code literals, probably produced by TableGen. llvm-svn: 148272
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions