aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/KnownBitsTest.cpp
diff options
context:
space:
mode:
authorRajveer Singh Bharadwaj <rajveer.developer@icloud.com>2024-04-02 21:36:56 +0530
committerGitHub <noreply@github.com>2024-04-02 12:06:56 -0400
commite12a1f8b325a72191c261b4f11726a9c58f84817 (patch)
tree42f2446c574a4e3ec75191ae3a3033e3109e0868 /llvm/unittests/Support/KnownBitsTest.cpp
parent6626eab07e2e9a1993a1ccdbf82bd88c3dc5b851 (diff)
downloadllvm-e12a1f8b325a72191c261b4f11726a9c58f84817.zip
llvm-e12a1f8b325a72191c261b4f11726a9c58f84817.tar.gz
llvm-e12a1f8b325a72191c261b4f11726a9c58f84817.tar.bz2
[clang] Fix crash when inheriting from a cv-qualified type (#70594)
This change makes the `assertion` less strict in `debug` builds by stripping qualifiers from the base class and ignoring them. I hope `weakened` assertions don't affect other cases where such `errors` are intended to be `caught` by the compiler. Fixes #35603 Fixes #85256
Diffstat (limited to 'llvm/unittests/Support/KnownBitsTest.cpp')
0 files changed, 0 insertions, 0 deletions