llvm-project/clang/lib
Devin Coughlin de2cc01cd4 [analyzer] Don't issue alarm in ObjCSuperCallChecker for the super class itself.
The ObjCSuperCallChecker issues alarms for various Objective-C APIs that require
a subclass to call to its superclass's version of a method when overriding it.
So, for example, it raises an alarm when the -viewDidLoad method in a subclass
of UIViewController does not call [super viewDidLoad].

This patch fixes a false alarm where the analyzer erroneously required the
implementation of the superclass itself (e.g., UIViewController) to call
super.

rdar://problem/18416944

Differential Revision: http://reviews.llvm.org/D11842

llvm-svn: 244386
2015-08-08 01:31:51 +00:00
..
ARCMigrate Use llvm::reverse to make a bunch of loops use foreach. NFC. 2015-07-30 17:22:52 +00:00
AST AST: Implement mangling support for function types without a prototype. 2015-08-07 23:25:47 +00:00
ASTMatchers Add AST matchers for narrowing constructors that are default, copy, or move constructors, as well as functionality to determine whether a ctor initializer is a base initializer. 2015-08-05 12:11:30 +00:00
Analysis Use llvm::reverse to make a bunch of loops use foreach. NFC. 2015-07-30 17:22:52 +00:00
Basic Update a comment to be more descriptive. 2015-08-07 19:07:08 +00:00
CodeGen This patch commits OpenMP 4 target device clauses 2015-08-07 16:16:36 +00:00
Driver Range-forify a loop, delete trailing whitespace. NFC 2015-08-06 22:36:24 +00:00
Edit [Edit] Use StringRef's copy method. No functional change intended. 2015-08-04 11:18:09 +00:00
Format Do not force linebreaks when MaxEmptyLinesToKeep is 0. 2015-07-28 15:50:24 +00:00
Frontend [Frontend] Fix crash when serializing diagnostics with really long text. 2015-08-06 18:46:36 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers [X86] Add support for _MM_ALIGN16 2015-08-06 08:24:38 +00:00
Index Rename MacroDefinition -> MacroDefinitionRecord, Preprocessor::MacroDefinition -> MacroDefinition. 2015-05-04 02:25:31 +00:00
Lex Rename the non-coding style conformant functions in namespace Builtins 2015-08-06 01:01:12 +00:00
Parse Restore PrettyStackTrace state on crash. 2015-08-07 17:48:57 +00:00
Rewrite Make local function isWhitespaceExceptNL static instead of in anonymous namespace 2015-07-28 04:54:03 +00:00
Sema This patch commits OpenMP 4 target device clauses 2015-08-07 16:16:36 +00:00
Serialization This patch commits OpenMP 4 target device clauses 2015-08-07 16:16:36 +00:00
StaticAnalyzer [analyzer] Don't issue alarm in ObjCSuperCallChecker for the super class itself. 2015-08-08 01:31:51 +00:00
Tooling Use LLVM_ATTRIBUTE_UNUSED to hide gcc 5.1 unused variable warning. 2015-08-07 16:21:23 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00