Files
clang-p2996/clang/lib/AST/ExprConstant.cpp
Rajveer Singh Bharadwaj e12a1f8b32 [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
2024-04-02 12:06:56 -04:00

605 KiB