llvm-project/clang/lib/Sema
Manman Ren 2c3933f402 ObjC lifetime: pull sugar off when the qualifiers conflict.
It's possible to have multiple local ObjCLifetime qualifiers. When there is
a conflict, we can't stop after we reach a type that is directly qualified.
We need to keep pulling sugar off and removing the ObjCLifetime qualifers.

rdar://25804796

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

llvm-svn: 271409
2016-06-01 17:14:19 +00:00
..
AnalysisBasedWarnings.cpp Rename a variable to avoid shadowing function parameter. NFC. 2016-05-25 05:42:00 +00:00
AttributeList.cpp P0188R1: add support for standard [[fallthrough]] attribute. This is almost 2016-03-08 00:32:55 +00:00
CMakeLists.txt It seems we need to add SemaExpr.cpp to the /bigobj list; I am getting consistent failures of hitting the section count limit. 2016-06-01 15:17:54 +00:00
CodeCompleteConsumer.cpp Silence some MSVC false positive warnings about integer zexts and falling off the end of a covered switch 2016-02-10 19:09:15 +00:00
DeclSpec.cpp [MSVC] Support for __unaligned qualifier in functions 2016-05-26 10:06:01 +00:00
DelayedDiagnostic.cpp Addressing review comments for r261163. 2016-02-22 04:47:24 +00:00
IdentifierResolver.cpp [modules] Separately track whether an identifier's preprocessor information and 2016-02-05 19:03:40 +00:00
JumpDiagnostics.cpp Some minor ARC diagnostic improvements. 2015-10-21 18:06:38 +00:00
MultiplexExternalSemaSource.cpp Method Pool in modules: we make sure that if a module contains an entry for 2016-04-29 19:04:05 +00:00
Scope.cpp [Parser] Clear the TemplateParamScope bit of the current scope's flag 2016-04-29 02:24:14 +00:00
ScopeInfo.cpp [Objective-c] Do not set IsExact to true when the receiver is a class. 2016-03-22 05:00:21 +00:00
Sema.cpp Produce better pretty stack traces from crashes in template instantiation: add 2016-05-26 20:23:13 +00:00
SemaAccess.cpp Make SemaAccess smarter about determining when a dependent class might 2016-03-23 20:39:06 +00:00
SemaAttr.cpp [NFC] Initialize a variable to make buildbot green. 2016-04-29 22:50:16 +00:00
SemaCUDA.cpp [CUDA] Do not allow non-empty destructors for global device-side variables. 2016-05-19 20:13:53 +00:00
SemaCXXScopeSpec.cpp [modules] Enforce the rules that an explicit or partial specialization must be 2016-05-05 00:56:12 +00:00
SemaCast.cpp [OpenCL] Allow explicit cast of 0 to event_t. 2016-05-20 17:18:16 +00:00
SemaChecking.cpp [OpenCL] Add to_{global|local|private} builtin functions. 2016-05-20 19:54:38 +00:00
SemaCodeComplete.cpp Make Sema::getPrintingPolicy less ridiculously expensive. This used to perform 2016-05-19 01:39:10 +00:00
SemaConsumer.cpp
SemaCoroutine.cpp [coroutines] Build a CoroutineBodyStmt when finishing parsing a coroutine, and form the initial_suspend, final_suspend, and get_return_object calls. 2015-11-24 02:34:39 +00:00
SemaDecl.cpp [MSVC] Fix stack overflow in unqualified type lookup logic, by Will 2016-05-31 06:21:27 +00:00
SemaDeclAttr.cpp [MS ABI] Implement __declspec(empty_bases) and __declspec(layout_version) 2016-05-23 17:16:12 +00:00
SemaDeclCXX.cpp [modules] Ask the canonical decl whether the constructor was defaulted. 2016-05-24 12:10:36 +00:00
SemaDeclObjC.cpp Prune four superfluous ExternalSemaSource.h includes and one forward declaration in Sema.h 2016-05-13 14:53:19 +00:00
SemaExceptionSpec.cpp Wire a SourceLocation into IsDerivedFrom and move the RequireCompleteType call 2015-12-18 21:45:41 +00:00
SemaExpr.cpp [OPENMP] Pass scalar firstprivate vars by value. 2016-05-17 08:55:33 +00:00
SemaExprCXX.cpp [MSVC] Support for __unaligned qualifier in functions 2016-05-26 10:06:01 +00:00
SemaExprMember.cpp [OPENMP 4.5] Codegen for dacross loop synchronization constructs. 2016-05-25 12:36:08 +00:00
SemaExprObjC.cpp [ObjC kindof] Use type bound to filter out the candidate methods. 2016-04-07 19:32:24 +00:00
SemaFixItUtils.cpp Wire a SourceLocation into IsDerivedFrom and move the RequireCompleteType call 2015-12-18 21:45:41 +00:00
SemaInit.cpp Warn when a reference is bound to an empty l-value (dereferenced null pointer). 2016-05-14 17:44:14 +00:00
SemaLambda.cpp [Parser] Clear the TemplateParamScope bit of the current scope's flag 2016-04-29 02:24:14 +00:00
SemaLookup.cpp Turn copies into references as suggested by clang-tidy's performance-unnecessary-copy-initialization. 2016-05-27 13:36:58 +00:00
SemaObjCProperty.cpp [ObjC] Remove _Atomic from return type and parameter type of 2016-05-26 00:37:30 +00:00
SemaOpenMP.cpp [OpenMP] Fix SEMA bug in the capture of global variables in template functions. 2016-05-27 15:21:27 +00:00
SemaOverload.cpp Preserve the FoundDecl when performing overload resolution for constructors. 2016-05-11 20:37:46 +00:00
SemaPseudoObject.cpp arc-repeated-use-of-weak should not warn about IBOutlet properties 2016-05-25 05:41:57 +00:00
SemaStmt.cpp [OPENMP] Pass scalar firstprivate vars by value. 2016-05-17 08:55:33 +00:00
SemaStmtAsm.cpp Avoid using LookupResult's implicit copy ctor and assignment operator to avoid warnings 2016-03-16 09:56:58 +00:00
SemaStmtAttr.cpp [OpenCL] Added nosvm attribute for OpenCL v2.0. 2016-03-31 11:07:22 +00:00
SemaTemplate.cpp Re-commit r270748 "clang-cl: Treat dllimport explicit template instantiation definitions as declarations (PR27810, PR27811)" 2016-05-26 19:42:56 +00:00
SemaTemplateDeduction.cpp Fix PR27601 by reverting [r267453] - Refactor traversal of bases in deduction of template parameters from base 2016-05-19 02:28:21 +00:00
SemaTemplateInstantiate.cpp Produce better pretty stack traces from crashes in template instantiation: add 2016-05-26 20:23:13 +00:00
SemaTemplateInstantiateDecl.cpp Produce better pretty stack traces from crashes in template instantiation: add 2016-05-26 20:23:13 +00:00
SemaTemplateVariadic.cpp Fix crash while parsing variable template with variadic template arguments 2016-05-26 12:55:34 +00:00
SemaType.cpp ObjC lifetime: pull sugar off when the qualifiers conflict. 2016-06-01 17:14:19 +00:00
TreeTransform.h [OpenMP] Parsing and sema support for the from clause 2016-05-26 17:49:04 +00:00
TypeLocBuilder.cpp [Sema] Fix bug in TypeLocBuilder::pushImpl 2016-02-18 21:05:09 +00:00
TypeLocBuilder.h Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00