[PATCH] D15031: CFG: Add CFGElement for automatic variables that leave the scope

Matthias Gehre via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 10 10:44:21 PST 2017


mgehre updated this revision to Diff 91378.
mgehre marked an inline comment as done.
mgehre added a comment.

Handle back-patches gotos and add test case
Turned LocalScope::const_iterator::shared_parent from O(N^2) into O(N) time
The combination with AddImplicitDtors will be added in a separate patch


https://reviews.llvm.org/D15031

Files:
  include/clang/Analysis/AnalysisContext.h
  include/clang/Analysis/CFG.h
  include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
  lib/Analysis/AnalysisDeclContext.cpp
  lib/Analysis/CFG.cpp
  lib/StaticAnalyzer/Core/AnalysisManager.cpp
  lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
  lib/StaticAnalyzer/Core/ExprEngine.cpp
  lib/StaticAnalyzer/Core/PathDiagnostic.cpp
  test/Analysis/analyzer-config.c
  test/Analysis/analyzer-config.cpp
  test/Analysis/lifetime-cfg-output.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15031.91378.patch
Type: text/x-patch
Size: 52164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170310/5d781860/attachment-0001.bin>


More information about the cfe-commits mailing list