[all-commits] [llvm/llvm-project] cef66a: [Clang] Diagnose additional ObjC statements as fun...

Doug Wyatt via All-commits all-commits at lists.llvm.org
Mon Oct 14 08:49:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cef66aa04d3713afc4d0dfa66491b7af77322090
      https://github.com/llvm/llvm-project/commit/cef66aa04d3713afc4d0dfa66491b7af77322090
  Author: Doug Wyatt <doug at sonosphere.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M clang/lib/Sema/SemaFunctionEffects.cpp
    M clang/test/SemaObjCXX/attr-nonblocking-constraints.mm

  Log Message:
  -----------
  [Clang] Diagnose additional ObjC statements as function effect violations (#112148)

Bug fix: `@autoreleasepool`, `@synchronized`, and `@finally` were not
being noticed and treated as function effect violations.

---------

Co-authored-by: Doug Wyatt <dwyatt at apple.com>



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