diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2015-09-18 06:35:12 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2015-09-18 06:35:12 +0000 |
commit | 733ccaab6116ac8b62836eaa266fcf095dc38de2 (patch) | |
tree | e0a9360d5305c106468d008d450f272e27f2b2be /clang/lib/Sema/SemaOpenMP.cpp | |
parent | 172d7128558d42d5fe0e7c40ba23abaa7984fa25 (diff) | |
download | bcm5719-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/SemaOpenMP.cpp')
0 files changed, 0 insertions, 0 deletions