[all-commits] [llvm/llvm-project] 353155: [clang][analyzer][NFC] Refactor code of StdLibrary...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Thu Mar 9 02:56:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 353155a1a507e2d04edf227b8665a6360b354762
      https://github.com/llvm/llvm-project/commit/353155a1a507e2d04edf227b8665a6360b354762
  Author: Balázs Kéri <1.int32 at gmail.com>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp

  Log Message:
  -----------
  [clang][analyzer][NFC] Refactor code of StdLibraryFunctionsChecker.

The code was difficult to maintain (big internal class definitions
with long inline functions, other functions of the same class at
different location far away, irregular ordering of classes and
function definitions). It is now improved to some extent.
New functions are added to RangeConstraint to remove code repetition,
these are useful for planned new features too.
Comments are improved.

Reviewed By: Szelethus

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




More information about the All-commits mailing list