diff options
author | Rajveer Singh Bharadwaj <rajveer.developer@icloud.com> | 2024-04-02 21:36:56 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-02 12:06:56 -0400 |
commit | e12a1f8b325a72191c261b4f11726a9c58f84817 (patch) | |
tree | 42f2446c574a4e3ec75191ae3a3033e3109e0868 /llvm/unittests/Support/KnownBitsTest.cpp | |
parent | 6626eab07e2e9a1993a1ccdbf82bd88c3dc5b851 (diff) | |
download | llvm-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