hanchenye-llvm-project/clang/lib
Jordan Rose 2afd661685 Allow objc_requires_super to be used to check class methods as well.
Also, unify ObjCShouldCallSuperDealloc and ObjCShouldCallSuperFinalize.
The two have identical behavior and will never be active at the same time.

There's one last simplification now, which is that if we see a call to
[super foo] and we are currently in a method named 'foo', we will
/unconditionally/ clear the ObjCShouldCallSuper flag, rather than check
first to see if we're in a method where calling super is required. There's
no reason to pay the extra lookup price here.

llvm-svn: 166285
2012-10-19 16:05:26 +00:00
..
ARCMigrate Split library clangRewrite into clangRewriteCore and clangRewriteFrontend. 2012-09-01 05:09:24 +00:00
AST DR1511: A const volatile global does not implicitly get internal linkage like a 2012-10-19 06:37:48 +00:00
ASTMatchers First version of matchers for Types and TypeLocs. 2012-10-17 08:52:59 +00:00
Analysis Fix potential null deference in CFG printer. 2012-10-12 22:56:31 +00:00
Basic Teach getColumnNumber to use the line cache to get the start of the line if its on the same line as the last call to getLineNumber. Prevents needing to scan backwards for the new line. Fixes PR14106. 2012-10-19 04:40:38 +00:00
CodeGen Fix handling of the regparm attribute in the presence of classes with copy 2012-10-19 05:04:37 +00:00
Driver Revert r166223 and the subsequent commits that depend on it, r166230 & r166235. 2012-10-18 22:42:31 +00:00
Edit Change the representation of builtin functions in the AST 2012-08-31 00:14:07 +00:00
Frontend Change VerifyDiagnosticConsumer so that it *must* contain at least one "expected-*" directive. As a result, for test-cases that are not expected to generate any diagnostics, an additional directive "expected-no-diagnostics" has been implemented which can then be included in such test-cases. This new directive may not be used in conjunction with any other "expected-*" directive. 2012-10-19 12:49:32 +00:00
FrontendTool Split library clangRewrite into clangRewriteCore and clangRewriteFrontend. 2012-09-01 05:09:24 +00:00
Headers clang/lib/Headers/CMakeLists.txt: Add f16cintrin.h. 2012-10-11 01:10:04 +00:00
Lex Teach TargetInfo to hold on to the TargetOptions with which it was 2012-10-15 16:45:32 +00:00
Parse DR1528: C++11 doesn't allow repeated cv-qualifiers in declarators after all. 2012-10-17 23:31:46 +00:00
Rewrite Remove pointless classof()'s. 2012-10-11 23:31:23 +00:00
Sema Allow objc_requires_super to be used to check class methods as well. 2012-10-19 16:05:26 +00:00
Serialization ASTWriter.cpp: Fix a warning. [-Wunused-variable] 2012-10-19 01:53:57 +00:00
StaticAnalyzer [analyzer] Ivar invalidation: identify properties declared in protocols. 2012-10-18 19:17:57 +00:00
Tooling Only report first error when no compilation database is found. 2012-10-15 13:12:24 +00:00
CMakeLists.txt Adds the AST Matcher library, which provides a in-C++ DSL to express 2012-07-06 05:48:52 +00:00
Makefile Adds the AST Matcher library, which provides a in-C++ DSL to express 2012-07-06 05:48:52 +00:00