[all-commits] [llvm/llvm-project] 685e41: [clang][ExprConst] Reject field access with nullpt...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Nov 21 06:53:33 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 685e41e7774386b78c9527ebf70d3552aef383d7
      https://github.com/llvm/llvm-project/commit/685e41e7774386b78c9527ebf70d3552aef383d7
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/CXX/expr/expr.const/p2-0x.cpp

  Log Message:
  -----------
  [clang][ExprConst] Reject field access with nullptr base (#113885)

Reject them if the base is null, not only if the entire pointer is null.

Fixes #113821



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