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

Matthias Gehre via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 8 14:48:56 PDT 2016


mgehre updated this revision to Diff 53092.
mgehre added a comment.

Fix assert in LocalScope::const_iterator::distance when using goto to jump over trivially constructable variable declarations
Added two test cases for this


http://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.53092.patch
Type: text/x-patch
Size: 51678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160408/f3817de3/attachment-0001.bin>


More information about the cfe-commits mailing list