Skip to content

Backports a bugfix of the Clang Static Analyzer to clang-14 #55937

Closed
llvm/llvm-project-release-prs
#16
@steakhal

Description

The commit fixes a bug in the apiModeling.llvm.CastValue checker, where the new MLIR constructs formed a null-pointer which it immediately dereferenced causing a crash.
It would be grate to backport this fix since clang-tidy users of LLVM developers would likely encounter this crash.
Due to the clang-tidy integration to clangd even wider scale of developers might be affected.
Consequently, I think this patch deserves to be backported.

Should I create a followup patch mentioning this in some release notes?

/cherry-pick c7fa4e8

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions