[all-commits] [llvm/llvm-project] cb6c11: [analyzer] Silence a warning.

NoQ via All-commits all-commits at lists.llvm.org
Fri Jul 10 13:26:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cb6c1106141efa721a3902a98c37a54d135464fd
      https://github.com/llvm/llvm-project/commit/cb6c1106141efa721a3902a98c37a54d135464fd
  Author: Artem Dergachev <adergachev at apple.com>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

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

  Log Message:
  -----------
  [analyzer] Silence a warning.

An old clang warns that the const object has no default constructor so it may
remain uninitialized forever. That's a false alarm because all fields
have a default initializer. Apply the suggested fixit anyway.




More information about the All-commits mailing list