llvm-project/clang/lib
Alex Lorenz 5ffe4e14f1 [ObjC][ARC] Avoid -Warc-performSelector-leaks for performSelector variations
that became supported after r297019

The commit r297019 expanded the performSelector ObjC method family heuristic
to ensure that -Wobjc-unsafe-perform-selector covers all performSelector
variations. However, this made the -Warc-performSelector-leaks too noisy, as
that warning produces mostly false positives since the selector is unknown.
This commit reverts the ObjC method family heuristics introduced in r297019.
This ensures that -Warc-performSelector-leaks isn't too noisy. The commit still
preserves the coverage of -Wobjc-unsafe-perform-selector.

rdar://31124629

llvm-svn: 298587
2017-03-23 10:46:05 +00:00
..
ARCMigrate Reapply "IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer" 2017-01-06 19:49:01 +00:00
AST [ObjC][ARC] Avoid -Warc-performSelector-leaks for performSelector variations 2017-03-23 10:46:05 +00:00
ASTMatchers Add AST matchers for ObjCProtocolDecl, ObjCCategoryDecl, ObjCMethodDecl, ObjCIvarDecl, and ObjCPropertyDecl. 2017-03-15 20:14:25 +00:00
Analysis [analyzer] Fix crash when building CFG with variable of incomplete type 2017-03-07 08:42:37 +00:00
Basic Move setting of LangOpts based on target flags out of CompilerInstance 2017-03-22 06:36:09 +00:00
CodeGen [X86] Implement __readgsqword (and the rest) as builtins (PR32373) 2017-03-22 19:13:13 +00:00
Driver Remove the -faltivec alias option and replace it with -maltivec everywhere. 2017-03-21 22:06:18 +00:00
Edit Fix problems in "[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand." 2016-12-23 14:55:49 +00:00
Format Fix issues in clang-format's AlignConsecutive modes. 2017-03-23 02:51:25 +00:00
Frontend Move setting of LangOpts based on target flags out of CompilerInstance 2017-03-22 06:36:09 +00:00
FrontendTool unique_ptrify createDriverOptTable 2017-01-13 17:34:15 +00:00
Headers [X86] Implement __readgsqword (and the rest) as builtins (PR32373) 2017-03-22 19:13:13 +00:00
Index [index/AST] Determine if a typedef shares a name and spelling location with its underlying tag type 2017-03-21 16:56:02 +00:00
Lex [Modules] Find PrivateHeaders when looking into subframeworks 2017-03-21 16:43:51 +00:00
Parse Implement DR 373 "Lookup on namespace qualified name in using-directive" 2017-03-17 21:41:20 +00:00
Rewrite [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) 2016-10-07 19:25:10 +00:00
Sema [ObjC][ARC] Avoid -Warc-performSelector-leaks for performSelector variations 2017-03-23 10:46:05 +00:00
Serialization [Serialization] Serialize DependentSizedExtVectorType 2017-03-22 10:04:48 +00:00
StaticAnalyzer Remove repeated code (PR32250). NFCI. 2017-03-15 22:43:36 +00:00
Tooling Apply clang-tidy's performance-unnecessary-value-param to parts of clang. 2017-03-21 21:35:04 +00:00
CMakeLists.txt