[all-commits] [llvm/llvm-project] 2c2e05: [clang][ThreadSafety] Skip past implicit cast in `...

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Sat May 18 00:53:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c2e0507e92bdb77a01828f899ff59e44492b537
      https://github.com/llvm/llvm-project/commit/2c2e0507e92bdb77a01828f899ff59e44492b537
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2024-05-18 (Sat, 18 May 2024)

  Changed paths:
    M clang/lib/Analysis/ThreadSafetyCommon.cpp
    M clang/test/SemaCXX/warn-thread-safety-analysis.cpp

  Log Message:
  -----------
  [clang][ThreadSafety] Skip past implicit cast in `translateAttrExpr`

Ignore `ImplicitCastExpr` when building `AttrExp` for capability
attribute diagnostics.

Fixes: https://github.com/llvm/llvm-project/issues/92118.



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