[all-commits] [llvm/llvm-project] e12a1f: [clang] Fix crash when inheriting from a cv-qualif...
Rajveer Singh Bharadwaj via All-commits
all-commits at lists.llvm.org
Tue Apr 2 09:07:18 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e12a1f8b325a72191c261b4f11726a9c58f84817
https://github.com/llvm/llvm-project/commit/e12a1f8b325a72191c261b4f11726a9c58f84817
Author: Rajveer Singh Bharadwaj <rajveer.developer at icloud.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ExprConstant.cpp
A clang/test/Sema/GH70594.cpp
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list