hanchenye-llvm-project/clang/lib/Analysis
Richard Smith eaf11ad709 Track the result of evaluating a computed noexcept specification on the
FunctionProtoType.

We previously re-evaluated the expression each time we wanted to know whether
the type is noexcept or not. We now evaluate the expression exactly once.

This is not quite "no functional change": it fixes a crasher bug during AST
deserialization where we would try to evaluate the noexcept specification in a
situation where we have not deserialized sufficient portions of the AST to
permit such evaluation.

llvm-svn: 331428
2018-05-03 03:58:32 +00:00
..
AnalysisDeclContext.cpp [Analysis] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-21 00:14:43 +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 Track the result of evaluating a computed noexcept specification on the 2018-05-03 03:58:32 +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
ConstructionContext.cpp Fix -Wunused-variable warnings after r330377. 2018-04-20 09:47:03 +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
FormatStringParsing.h
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 Implement P0482R2, support for char8_t type. 2018-05-01 05:02:45 +00:00
ProgramPoint.cpp
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 Fix the try_acquire_capability attribute to behave like the other try-lock functions. Fixes PR32954. 2018-04-12 17:53:21 +00:00
ThreadSafetyCommon.cpp Fix typos in clang 2018-04-06 15:14:32 +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 [Analysis] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-21 00:14:43 +00:00