[all-commits] [llvm/llvm-project] 2dbfa8: [analyzer] Allow default arguments to be evaluated...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Mon Feb 12 15:01:53 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2dbfa8407e7d2f4293add33b5ead3f2d5fcd04e9
      https://github.com/llvm/llvm-project/commit/2dbfa8407e7d2f4293add33b5ead3f2d5fcd04e9
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
    A clang/test/Analysis/Checkers/WebKit/ref-countable-default-arg-nullptr.cpp

  Log Message:
  -----------
  [analyzer] Allow default arguments to be evaluated like other arguments. (#80956)

This PR aligns the evaluation of default arguments with other kinds of
arguments by extracting the expressions within them as argument values
to be evaluated.




More information about the All-commits mailing list