[all-commits] [llvm/llvm-project] 750843: [BoundsSafety] Minor fixes on counted_by (#87559)

Yeoul Na via All-commits all-commits at lists.llvm.org
Wed Apr 3 16:35:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 750843875254b1d493f4d7c3d3921c1bced55b7c
      https://github.com/llvm/llvm-project/commit/750843875254b1d493f4d7c3d3921c1bced55b7c
  Author: Yeoul Na <yeoul_na at apple.com>
  Date:   2024-04-03 (Wed, 03 Apr 2024)

  Changed paths:
    M clang/lib/AST/TypePrinter.cpp
    M clang/lib/Sema/SemaExpr.cpp

  Log Message:
  -----------
  [BoundsSafety] Minor fixes on counted_by (#87559)

DeclRef to field must be marked as LValue to be consistent with how the
field decl will be evaluated.

T->desugar() is unnecessary to call ->isArrayType().



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