[all-commits] [llvm/llvm-project] b16a59: [analyzer][NFC] Pass the diagnostic message to the...

Endre Fülöp via All-commits all-commits at lists.llvm.org
Tue Jun 6 07:31:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b16a59328fc5120006aeac501637229cc7e30357
      https://github.com/llvm/llvm-project/commit/b16a59328fc5120006aeac501637229cc7e30357
  Author: Endre Fulop <endre.fulop at sigmatechnology.se>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
    M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp

  Log Message:
  -----------
  [analyzer][NFC] Pass the diagnostic message to the TrackConstraintBRVisitor

The `TrackConstraintBRVisitor` should accept a message for the note
instead of creating one. It would let us inject domain-specific
knowledge in a non-intrusive way, leading to a more generic visitor.

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




More information about the All-commits mailing list