[all-commits] [llvm/llvm-project] 476132: [Analyzer][solver][NFC] print constraints determin...

Gabor Marton via All-commits all-commits at lists.llvm.org
Mon Jul 26 07:27:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4761321d49db01dce1e308f900add033cc26fb47
      https://github.com/llvm/llvm-project/commit/4761321d49db01dce1e308f900add033cc26fb47
  Author: Gabor Marton <gabor.marton at ericsson.com>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp

  Log Message:
  -----------
  [Analyzer][solver][NFC] print constraints deterministically (ordered by their string representation)

This change is an extension to D103967 where I added dump methods for
(dis)equality classes of the State. There, the (dis)equality classes and their
contents are dumped in an ordered fashion, they are ordered based on their
string representation. This is very useful once we start to use FileCheck to
test the State dump in certain tests.

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




More information about the All-commits mailing list