[all-commits] [llvm/llvm-project] 38ab3b: [analyzer] CheckerContext: Make the Preprocessor a...

Charusso via All-commits all-commits at lists.llvm.org
Thu Jan 30 08:06:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 38ab3b876baaa899b92dda9113a4d1d4b56c2e79
      https://github.com/llvm/llvm-project/commit/38ab3b876baaa899b92dda9113a4d1d4b56c2e79
  Author: Charusso <dabis.csaba98 at gmail.com>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
    M clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp
    M clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
    M clang/unittests/StaticAnalyzer/Reusables.h

  Log Message:
  -----------
  [analyzer] CheckerContext: Make the Preprocessor available

Summary:
This patch hooks the `Preprocessor` trough `BugReporter` to the
`CheckerContext` so the checkers could look for macro definitions.

Reviewed By: NoQ

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




More information about the All-commits mailing list