llvm-project/clang/lib/Sema
Jordan Rose 67e887c9b5 -Warc-retain-cycles: look through [^{...} copy] and Block_copy(^{...})
Retain cycles happen in the case where a block is persisted past its
life on the stack, and the way that occurs is by copying the block.
We should thus look through any explicit copies we see.

Note that Block_copy is actually a type-safe wrapper for _Block_copy,
which does all the real work.

<rdar://problem/12219663>

llvm-svn: 164039
2012-09-17 17:54:30 +00:00
..
AnalysisBasedWarnings.cpp Thread-safety analysis: differentiate between two forms of analysis; a precise 2012-09-10 19:58:23 +00:00
AttributeList.cpp Add support for "type safety" attributes that allow checking that 'void *' 2012-08-17 00:08:38 +00:00
CMakeLists.txt [ms-inline asm] Extract AsmStmt handling into a separate file, so as to not 2012-08-17 21:19:40 +00:00
CodeCompleteConsumer.cpp Add a new libclang completion API to get brief documentation comment that is 2012-07-02 17:35:10 +00:00
DeclSpec.cpp Improved MSVC __interface support by adding first class support for it, instead of aliasing to "struct" which had some incorrect behaviour. Patch by David Robins. 2012-08-31 18:45:21 +00:00
DelayedDiagnostic.cpp objc: When issue diagnostic about deprecated method, also 2012-03-02 21:50:02 +00:00
IdentifierResolver.cpp Revert Decl's iterators back to pointer value_type rather than reference value_type 2012-06-06 20:45:41 +00:00
JumpDiagnostics.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Scope.cpp Reapply r151638 and r151641. 2012-02-29 10:24:19 +00:00
Sema.cpp Conditionally parse documentation comments in system headers by 2012-09-13 06:41:18 +00:00
SemaAccess.cpp When computing the effective context for access control, 2012-08-24 22:54:02 +00:00
SemaAttr.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
SemaCXXScopeSpec.cpp Move Sema::RequireCompleteType() and Sema::RequireCompleteExprType() 2012-05-04 16:32:21 +00:00
SemaCast.cpp Now that ASTMultiPtr is nothing more than a array reference, make it a MutableArrayRef. 2012-08-23 23:38:35 +00:00
SemaChecking.cpp -Warc-retain-cycles: look through [^{...} copy] and Block_copy(^{...}) 2012-09-17 17:54:30 +00:00
SemaCodeComplete.cpp Remove unused typedefs. Found by gcc48. 2012-09-06 16:14:37 +00:00
SemaConsumer.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
SemaDecl.cpp -Warc-retain-cycles: warn at variable initialization as well as assignment. 2012-09-15 02:48:31 +00:00
SemaDeclAttr.cpp Fix warning from r163642 2012-09-11 18:32:12 +00:00
SemaDeclCXX.cpp Don't write uninitialized values even if nobody ever asks for it. 2012-09-17 14:26:53 +00:00
SemaDeclObjC.cpp remove duplicate code. 2012-09-13 20:26:40 +00:00
SemaExceptionSpec.cpp PR13811: Add a FunctionParmPackExpr node to handle references to function 2012-09-12 00:56:43 +00:00
SemaExpr.cpp -Warc-retain-cycles: warn at variable initialization as well as assignment. 2012-09-15 02:48:31 +00:00
SemaExprCXX.cpp objective-C arc: remove -Warc-abi in its entirety. 2012-09-14 17:48:35 +00:00
SemaExprMember.cpp Rip out remnants of move semantic emulation and smart pointers in Sema. 2012-08-23 21:35:17 +00:00
SemaExprObjC.cpp objective-C: introduce __attribute((objc_requires_super)) on method 2012-09-07 23:46:23 +00:00
SemaFixItUtils.cpp Drop the ASTContext.h include from Stmt.h and fix up transitive users. 2012-07-04 17:04:04 +00:00
SemaInit.cpp Move the null check outside of the loop, no functionality change. 2012-09-10 22:04:26 +00:00
SemaLambda.cpp PR13652: Don't assume the parameter array on a FunctionTypeLoc for a lambda will 2012-08-30 13:13:20 +00:00
SemaLookup.cpp Remove RequireCompleteType call which was made redundant by r162586. 2012-08-24 23:51:39 +00:00
SemaObjCProperty.cpp Fix some dead stores which the static analyzer warned about. No functionality 2012-09-14 18:27:01 +00:00
SemaOverload.cpp Revert r163829. The world (or libstdc++, at least) is not ready. 2012-09-13 22:00:12 +00:00
SemaPseudoObject.cpp Fix a couple of Doxygen issues pointed out by -Wdocumentation. 2012-09-12 17:01:48 +00:00
SemaStmt.cpp Clarified diagnostics for range-based for loops with invalid ranges 2012-09-06 21:50:08 +00:00
SemaStmtAsm.cpp Add a few FIXMEs. 2012-09-13 00:20:37 +00:00
SemaStmtAttr.cpp Inline storage of attributes in AttributedStmt. 2012-07-09 10:04:07 +00:00
SemaTemplate.cpp Remove redundant semicolons which are null statements. 2012-09-10 21:20:09 +00:00
SemaTemplateDeduction.cpp Don't perform template argument deduction against invalid templates; 2012-09-13 21:01:57 +00:00
SemaTemplateInstantiate.cpp Fix a couple of Doxygen issues pointed out by -Wdocumentation. 2012-09-12 17:01:48 +00:00
SemaTemplateInstantiateDecl.cpp Actually rebuild function types properly when adjusting the function 2012-09-13 22:01:49 +00:00
SemaTemplateVariadic.cpp Improved MSVC __interface support by adding first class support for it, instead of aliasing to "struct" which had some incorrect behaviour. Patch by David Robins. 2012-08-31 18:45:21 +00:00
SemaType.cpp When computing the decltype of an expression, consider Objective-C 2012-09-13 23:40:46 +00:00
TargetAttributesSema.cpp Reapply r158700 and fixup patches, minus one hunk that slipped through and 2012-06-19 23:57:03 +00:00
TargetAttributesSema.h Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
TreeTransform.h PR13811: Add a FunctionParmPackExpr node to handle references to function 2012-09-12 00:56:43 +00:00
TypeLocBuilder.h Remove more unnecessary #include <llvm/ADT/SmallVector.h> 2011-06-20 06:11:46 +00:00