llvm-project/clang/lib/Analysis
Artem Dergachev c2c47f24f5 [analyzer] Do not try to body-farm Objective-C properties with custom accessors.
If a property is defined with a custom getter, we should not behave as if
the getter simply returns an instance variable. We don't support setters,
so they aren't affected.

On top of being the right thing to do, this also fixes a crash on
the newly added test - in which a property and its getter are defined
in two separate categories.

rdar://problem/47051544

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

llvm-svn: 351609
2019-01-18 22:52:13 +00:00
..
AnalysisDeclContext.cpp [analyzer] Generate and use stable identifiers for LocationContext 2018-09-15 02:03:36 +00:00
BodyFarm.cpp [analyzer] Do not try to body-farm Objective-C properties with custom accessors. 2019-01-18 22:52:13 +00:00
CFG.cpp Revert "Revert r347417 "Re-Reinstate 347294 with a fix for the failures."" 2018-11-30 23:41:18 +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 Change CallGraph print to show the fully qualified name 2018-12-12 18:11:36 +00:00
CloneDetection.cpp Misc typos fixes in ./lib folder 2018-12-10 12:37:46 +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 [AST] Remove ASTContext from getThisType (NFC) 2019-01-11 01:54:53 +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 [analyzer] Fix some expressions staying live too long. Add a debug checker. 2018-12-16 23:44:06 +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 [AST][NFC] Pass the AST context to one of the ctor of DeclRefExpr. 2018-12-21 14:10:18 +00:00
ThreadSafetyCommon.cpp [AST][NFC] Pass the AST context to one of the ctor of DeclRefExpr. 2018-12-21 14:10:18 +00:00
ThreadSafetyLogical.cpp
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