[PATCH] D114006: [analyzer]{NFC} Enable access to CodeGenOptions from analyzer's instances.

Denys Petrov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 16 08:45:46 PST 2021


ASDenysPetrov created this revision.
ASDenysPetrov added reviewers: martong, steakhal, Charusso, Szelethus, NoQ.
ASDenysPetrov added a project: clang.
Herald added subscribers: manas, dkrupp, donat.nagy, mikhail.ramalho, a.sidorin, rnkovacs, szepet, baloghadamsoftware, xazax.hun.
ASDenysPetrov requested review of this revision.
Herald added a subscriber: cfe-commits.

Passed a `CodeGenOptions` reference from `CompilerInstance` to `AnalysisConsumer` and then to `AnalysisManager` to enable access to the options for CSA instances such as `StoreManager`, `ConstraintManager` and others, This patch is a preliminary one for D110927 <https://reviews.llvm.org/D110927>.

NOTE: The half of the changes is just formatting.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114006

Files:
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
  clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp
  clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114006.387662.patch
Type: text/x-patch
Size: 5828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211116/615fa581/attachment.bin>


More information about the cfe-commits mailing list