[all-commits] [llvm/llvm-project] 371883: [clang/Sema] Fix non-deterministic order for certa...

Argyrios Kyrtzidis via All-commits all-commits at lists.llvm.org
Wed Oct 5 12:58:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 371883f46dc23f8464cbf578e2d12a4f92e61917
      https://github.com/llvm/llvm-project/commit/371883f46dc23f8464cbf578e2d12a4f92e61917
  Author: Argyrios Kyrtzidis <kyrtzidis at apple.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

  Changed paths:
    M clang/include/clang/AST/DeclObjC.h
    M clang/include/clang/Sema/Scope.h
    M clang/lib/AST/DeclObjC.cpp
    M clang/lib/Sema/SemaObjCProperty.cpp
    M clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
    A clang/test/Sema/deterministic-diagnostics-order.m

  Log Message:
  -----------
  [clang/Sema] Fix non-deterministic order for certain kind of diagnostics

In the context of caching clang invocations it is important to emit diagnostics in deterministic order;
the same clang invocation should result in the same diagnostic output.

rdar://100336989

Differential Revision: https://reviews.llvm.org/D135118




More information about the All-commits mailing list