llvm-project/clang/lib/Analysis
Artem Dergachev 08225bbed4 [CFG] Provide construction contexts when constructors have cleanups.
Now that we make it possible to query the CFG constructor element to find
information about the construction site, possible cleanup work represented by
ExprWithCleanups should not prevent us from providing this information.

This allows us to have a correct construction context for variables initialized
"by value" via elidable copy-constructors, such as 'i' in

  iterator i = vector.begin();

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

llvm-svn: 324798
2018-02-10 02:46:14 +00:00
..
AnalysisDeclContext.cpp [CFG] Add extra context to C++ constructor statement elements. 2018-02-08 22:58:15 +00:00
BodyFarm.cpp [analyzer] Fix yet-another-crash in body-farming std::call_once 2018-02-02 01:44:07 +00:00
CFG.cpp [CFG] Provide construction contexts when constructors have cleanups. 2018-02-10 02:46:14 +00:00
CFGReachabilityAnalysis.cpp
CFGStmtMap.cpp
CMakeLists.txt Add support for __builtin_os_log_format[_buffer_size] 2016-10-24 20:39:34 +00:00
CallGraph.cpp [Analysis] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-12-07 21:55:09 +00:00
CloneDetection.cpp Fix typos of occurred and occurrence 2018-01-24 10:26:09 +00:00
CocoaConventions.cpp [analyzer] Teach RetainCountChecker about CoreMedia APIs 2017-11-25 14:57:42 +00:00
CodeInjector.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00
Consumed.cpp Consolidate std::move() detection code. No behavior change. 2017-09-28 16:16:39 +00:00
Dominators.cpp
FormatString.cpp Add support for __builtin_os_log_format[_buffer_size] 2016-10-24 20:39:34 +00:00
FormatStringParsing.h [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
LiveVariables.cpp [CSA] [NFC] Move AnalysisContext.h to AnalysisDeclContext.h 2017-09-06 21:45:03 +00:00
OSLog.cpp Make helpers static. NFC. 2017-02-11 12:21:17 +00:00
ObjCNoReturn.cpp
PostOrderCFGView.cpp
PrintfFormatString.cpp [clang] Add getUnsignedPointerDiffType method 2017-09-28 23:11:31 +00:00
ProgramPoint.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00
PseudoConstantAnalysis.cpp Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:23:51 +00:00
ReachableCode.cpp [CSA] [NFC] Move AnalysisContext.h to AnalysisDeclContext.h 2017-09-06 21:45:03 +00:00
ScanfFormatString.cpp [clang] Add getUnsignedPointerDiffType method 2017-09-28 23:11:31 +00:00
ThreadSafety.cpp Handle scoped_lockable objects being returned by value in C++17. 2018-01-11 22:13:57 +00:00
ThreadSafetyCommon.cpp Refactor overridden methods iteration to avoid double lookups. 2017-12-17 23:52:45 +00:00
ThreadSafetyLogical.cpp Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
ThreadSafetyTIL.cpp [c++20] P0515R3: Parsing support and basic AST construction for operator <=>. 2017-12-14 15:16:18 +00:00
UninitializedValues.cpp Consolidate std::move() detection code. No behavior change. 2017-09-28 16:16:39 +00:00