[PATCH] D71642: [CFG] Add on option to inline CXXDefaultInitExpr into aggregate initialization

Gábor Horváth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 17 17:20:38 PST 2019


xazax.hun created this revision.
xazax.hun added reviewers: NoQ, Szelethus, mgehre.
xazax.hun added a project: clang.
Herald added subscribers: cfe-commits, Charusso, gamesh411, dkrupp, rnkovacs.

This is useful for clients that are relying on linearized CFGs for evaluating subexpressions and want the default initializer to be evaluated properly.

The upcoming lifetime analysis is using this but it might also be useful for the static analyzer at some point.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71642

Files:
  clang/include/clang/Analysis/CFG.h
  clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
  clang/lib/Analysis/CFG.cpp
  clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp
  clang/test/Analysis/analyzer-config.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71642.234420.patch
Type: text/x-patch
Size: 4280 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191218/a4d5fa21/attachment-0001.bin>


More information about the cfe-commits mailing list