[all-commits] [llvm/llvm-project] 6745b6: [analyzer][NFCi] Use the correct BugType in CStrin...

Shivam via All-commits all-commits at lists.llvm.org
Mon Feb 14 07:25:12 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6745b6a0f18523d6b871f627ceb46a92b7c2c43d
      https://github.com/llvm/llvm-project/commit/6745b6a0f18523d6b871f627ceb46a92b7c2c43d
  Author: phyBrackets <singh.shivamsingh2003 at gmail.com>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

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

  Log Message:
  -----------
  [analyzer][NFCi] Use the correct BugType in CStringChecker.

There is different bug types for different types of bugs  but the **emitAdditionOverflowbug** seems to use bugtype **BT_NotCSting** but actually it have to use **BT_AdditionOverflow** .

Reviewed By: steakhal

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




More information about the All-commits mailing list