llvm-project/clang/lib/Analysis
Artem Dergachev 8ac6c9dd67 [CFG] [analyzer] Allow elidable copies to have more than one arguments.
Copy-constructors and move-constructors may have default arguments. It is
incorrect to assert that they only have one argument, i.e. the reference to the
object being copied or moved. Remove the assertion.

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

llvm-svn: 337229
2018-07-17 00:57:57 +00:00
..
AnalysisDeclContext.cpp [CFG] [analyzer] Add construction contexts that explain pre-C++17 copy elision. 2018-06-28 00:04:54 +00:00
BodyFarm.cpp [analyzer] Do not crash on callback for call_once passed by value 2018-05-16 00:29:13 +00:00
CFG.cpp [CFG] [analyzer] Allow elidable copies to have more than one arguments. 2018-07-17 00:57:57 +00:00
CFGReachabilityAnalysis.cpp [Analysis] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-16 21:22:42 +00:00
CFGStmtMap.cpp
CMakeLists.txt [CFG] NFC: Refactor ConstructionContext into a finite set of cases. 2018-02-27 20:03:35 +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 in clang 2018-04-06 15:14:32 +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
ConstructionContext.cpp [CFG] [analyzer] Simplify lifetime-extended temporary construction contexts. 2018-06-28 00:18:52 +00:00
Consumed.cpp [Analysis] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-13 21:32:01 +00:00
Dominators.cpp [Analysis] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-13 21:32:01 +00:00
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 Revert "[analyzer] Remove an unused variable" 2018-04-06 19:14:05 +00:00
OSLog.cpp Make helpers static. NFC. 2017-02-11 12:21:17 +00:00
ObjCNoReturn.cpp
PostOrderCFGView.cpp [Analysis] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-13 21:32:01 +00:00
PrintfFormatString.cpp os_log: When there are multiple privacy annotations in the format 2018-07-11 22:19:14 +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 Teach Wreturn-type, Wunreachable-code, and alpha.deadcode.UnreachableCode to treat __assume(0) like __builtin_unreachable. 2018-02-13 21:31:47 +00:00
ScanfFormatString.cpp [clang] Add getUnsignedPointerDiffType method 2017-09-28 23:11:31 +00:00
ThreadSafety.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ThreadSafetyCommon.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ThreadSafetyLogical.cpp
ThreadSafetyTIL.cpp [Analysis] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-16 00:37:51 +00:00
UninitializedValues.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00