summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2015-09-18 06:35:12 +0000
committerYaron Keren <yaron.keren@gmail.com>2015-09-18 06:35:12 +0000
commit733ccaab6116ac8b62836eaa266fcf095dc38de2 (patch)
treee0a9360d5305c106468d008d450f272e27f2b2be /clang/lib/Sema/SemaDecl.cpp
parent172d7128558d42d5fe0e7c40ba23abaa7984fa25 (diff)
downloadbcm5719-llvm-733ccaab6116ac8b62836eaa266fcf095dc38de2.tar.gz
bcm5719-llvm-733ccaab6116ac8b62836eaa266fcf095dc38de2.zip
Simplify SmallBitVector::applyMask by consolidating common code for 32-bit and 64-bit builds.
Extend mask value to 64 bits before taking its complement and assert when mask is too large to apply in the small case (previously the extra words were silently ignored). http://reviews.llvm.org/D11890 Patch by James Touton! llvm-svn: 247972
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud