llvm-project/clang/lib/Analysis
Tim Northover 314fbfa1c4 Reapply Logging: make os_log buffer size an integer constant expression.
The size of an os_log buffer is known at any stage of compilation, so making it
a constant expression means that the common idiom of declaring a buffer for it
won't result in a VLA. That allows the compiler to skip saving and restoring
the stack pointer around such buffers.

This also moves the OSLog and other FormatString helpers from
libclangAnalysis to libclangAST to avoid a circular dependency.

llvm-svn: 345971
2018-11-02 13:14:11 +00:00
..
AnalysisDeclContext.cpp [analyzer] Generate and use stable identifiers for LocationContext 2018-09-15 02:03:36 +00:00
BodyFarm.cpp [AST] Only store data for the NRVO candidate in ReturnStmt if needed 2018-10-30 14:40:49 +00:00
CFG.cpp Fix clang -Wimplicit-fallthrough warnings across llvm, NFC 2018-11-01 19:54:45 +00:00
CFGReachabilityAnalysis.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
CFGStmtMap.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
CMakeLists.txt Reapply Logging: make os_log buffer size an integer constant expression. 2018-11-02 13:14:11 +00:00
CallGraph.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
CloneDetection.cpp Use llvm::{all,any,none}_of instead std::{all,any,none}_of. NFC 2018-10-20 17:53:42 +00:00
CocoaConventions.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
CodeInjector.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00
ConstructionContext.cpp [CFG] [analyzer] NFC: Enumerate construction context layer kinds. 2018-07-31 21:12:42 +00:00
Consumed.cpp Port getLocEnd -> getEndLoc 2018-08-09 21:09:38 +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
ExprMutationAnalyzer.cpp [analyzer] Fix nullptr access when processing instantiated function in ExprMutationAnalyzer. 2018-09-19 18:00:55 +00:00
LiveVariables.cpp Create ConstantExpr class 2018-10-31 03:48:47 +00:00
ObjCNoReturn.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
PostOrderCFGView.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
ProgramPoint.cpp Fix linkage error on ProgramPoint's dump method. 2018-09-30 18:05:39 +00:00
ReachableCode.cpp Fix clang -Wimplicit-fallthrough warnings across llvm, NFC 2018-11-01 19:54:45 +00:00
ThreadSafety.cpp Create ConstantExpr class 2018-10-31 03:48:47 +00:00
ThreadSafetyCommon.cpp Create ConstantExpr class 2018-10-31 03:48:47 +00:00
ThreadSafetyLogical.cpp Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
ThreadSafetyTIL.cpp Eliminate some unneeded signed/unsigned conversions 2018-09-22 21:56:16 +00:00
UninitializedValues.cpp Remove trailing space 2018-07-30 19:24:48 +00:00