aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-01-19 11:07:13 +0000
committerMartin Storsjö <martin@martin.st>2022-03-09 10:12:55 +0200
commitabe46776f33d11f9d6d7162d905d760aebafc590 (patch)
treeb014f001e38e1c5726d2ead37eaa20d783fc2a52 /clang/lib/Frontend/CompilerInvocation.cpp
parent8a0fa4db39d862b99eb5d440a211c5c0228e13ce (diff)
downloadllvm-abe46776f33d11f9d6d7162d905d760aebafc590.zip
llvm-abe46776f33d11f9d6d7162d905d760aebafc590.tar.gz
llvm-abe46776f33d11f9d6d7162d905d760aebafc590.tar.bz2
[libcxx] [test] Fix the classic_table test on Windows
On Windows, constants like F::alpha and F::print are bitmasks consisting of multiple bits (e.g. F::alpha consisting of both the bits F::upper and F::lower). In such a case, we can't check that all the bits from all the expected constants are set. Instead, check that (p[i] & mask) != 0 returns the expected value. Differential Revision: https://reviews.llvm.org/D120802
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions