[all-commits] [llvm/llvm-project] e99abc: Revert "[analyzer] Prevent misuses of -analyze-fun...

Balazs Benics via All-commits all-commits at lists.llvm.org
Wed Feb 2 02:45:38 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e99abc5d8a3a730915933e9725fe585a46f51b18
      https://github.com/llvm/llvm-project/commit/e99abc5d8a3a730915933e9725fe585a46f51b18
  Author: Balazs Benics <balazs.benics at sigmatechnology.se>
  Date:   2022-02-02 (Wed, 02 Feb 2022)

  Changed paths:
    M clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
    R clang/test/Analysis/analyze-function-guide.cpp

  Log Message:
  -----------
  Revert "[analyzer] Prevent misuses of -analyze-function"

This reverts commit 9d6a6159730171bc0faf78d7f109d6543f4c93c2.

Exit Code: 1

Command Output (stderr):
--
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Analysis/analyze-function-guide.cpp:53:21: error: CHECK-EMPTY-NOT: excluded string found in input // CHECK-EMPTY-NOT: Every top-level function was skipped.
                    ^
<stdin>:1:1: note: found here
Every top-level function was skipped.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Input file: <stdin>
Check file: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Analysis/analyze-function-guide.cpp

-dump-input=help explains the following input dump.

Input was:
<<<<<<
        1: Every top-level function was skipped.
not:53     !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: no match expected
        2: Pass the -analyzer-display-progress for tracking which functions are analyzed.
>>>>>>




More information about the All-commits mailing list