[all-commits] [llvm/llvm-project] 57f70d: [Analyzer] Mark constant member functions const in...

Balogh, Ádám via All-commits all-commits at lists.llvm.org
Mon Mar 9 06:19:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 57f70d187706f572227b74c82c7446a3096f862f
      https://github.com/llvm/llvm-project/commit/57f70d187706f572227b74c82c7446a3096f862f
  Author: Adam Balogh <adam.balogh at ericsson.com>
  Date:   2020-03-09 (Mon, 09 Mar 2020)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/CheckerManager.h
    M clang/lib/StaticAnalyzer/Core/CheckerManager.cpp

  Log Message:
  -----------
  [Analyzer] Mark constant member functions const in CheckerManager

Most of the getter functions (and a reporter function) in
`CheckerManager` are constant but not marked as `const`. This prevents
functions having only a constant reference to `CheckerManager` using
these member functions. This patch fixes this issue.

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




More information about the All-commits mailing list