llvm-project/clang/lib/Sema
Argyrios Kyrtzidis b97a4025ff [PCH] When completing an objc forward reference, do not serialize the chain of its categories because
it is going to be rewritten (and the chain will be serialized again), otherwise we may form a cycle in its
categories list when deserializing.

Also introduce ASTMutationListener::CompletedObjCForwardRef to notify that a forward reference
was completed; using Decl's isChangedSinceDeserialization/setChangedSinceDeserialization
is bug inducing and kinda gross, we should phase it out.

Fixes infinite loop in rdar://10418538.

llvm-svn: 144465
2011-11-12 21:07:46 +00:00
..
AnalysisBasedWarnings.cpp Rename AnalysisContext to AnalysisDeclContext. Not only is this name more accurate, but it frees up the name AnalysisContext for other uses. 2011-10-24 01:32:45 +00:00
AttributeList.cpp Propagate __attribute__((returns_twice)) from C to IL. 2011-10-03 14:59:42 +00:00
CMakeLists.txt Restore r142914 and r142915, now with missing file and apparent 2011-10-25 17:37:35 +00:00
CodeCompleteConsumer.cpp Change operator<< for raw_ostream and NamedDecl to take a reference instead of a pointer. 2011-10-14 18:45:37 +00:00
DeclSpec.cpp Improve the warning for cv-qualifiers on free functions, from Ahmed Charles! 2011-10-19 06:04:55 +00:00
DelayedDiagnostic.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
IdentifierResolver.cpp Make the loading of information attached to an IdentifierInfo from an 2011-10-27 09:33:13 +00:00
JumpDiagnostics.cpp Add -Wc++98-compat diagnostics for jumps which bypass initialization of non-POD 2011-10-20 21:42:12 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
MultiInitializer.cpp Improve unexpanded parameter pack diagnostics by using UPPC_Initializer here. 2011-10-23 18:59:33 +00:00
Scope.cpp Store a parameter index and function prototype depth in every 2011-05-01 22:35:37 +00:00
Sema.cpp Implicit casts from rvalue to lvalue are not meaningful. Don't accidentally add 2011-11-10 23:32:36 +00:00
SemaAccess.cpp Extend IsSimplyAccessible to check for Objective-C instance variable 2011-11-03 19:00:24 +00:00
SemaAttr.cpp Add explicit attributes to mark functions as having had their 2011-09-30 05:12:12 +00:00
SemaCXXScopeSpec.cpp Add -Wc++98-compat warning for enumerations in nested name specifiers. 2011-10-20 03:28:47 +00:00
SemaCast.cpp Add missing lvalue-to-rvalue conversion. 2011-10-31 20:59:03 +00:00
SemaChecking.cpp Constant expression evaluation: support for evaluation of structs and unions of 2011-11-10 06:34:14 +00:00
SemaCodeComplete.cpp Introduce proper spacing after the Objective-C parameter qualifiers 2011-11-09 02:13:45 +00:00
SemaDecl.cpp There's no good reason to track temporaries in ExprWithCleanups, 2011-11-10 05:35:25 +00:00
SemaDeclAttr.cpp Downgrade err_iboutlet_object_type to a warning. It was breaking a bunch of code. We will reconsider promoting it back to an error later. 2011-11-01 18:08:35 +00:00
SemaDeclCXX.cpp Remove unnecessary 'else's after 'return's. 2011-11-12 20:54:14 +00:00
SemaDeclObjC.cpp [PCH] When completing an objc forward reference, do not serialize the chain of its categories because 2011-11-12 21:07:46 +00:00
SemaExceptionSpec.cpp Only print _Bool as 'bool' when 'bool' is defined as an object-like 2011-09-27 23:30:47 +00:00
SemaExpr.cpp Add missing casts to AST. 2011-11-12 03:56:23 +00:00
SemaExprCXX.cpp There's no good reason to track temporaries in ExprWithCleanups, 2011-11-10 05:35:25 +00:00
SemaExprMember.cpp Fix some cases where a CK_IntegralCast was being used to convert an lvalue to an 2011-10-27 22:11:44 +00:00
SemaExprObjC.cpp Don't crash on invalid objc code. 2011-11-09 00:22:48 +00:00
SemaFixItUtils.cpp Refactor the */& mismatch fixit generation out of SemaOverload and provide a simple conversion checking function. 2011-07-28 19:46:48 +00:00
SemaInit.cpp Rename Expr::Evaluate to Expr::EvaluateAsRValue to make it clear that it will 2011-10-29 00:50:52 +00:00
SemaLookup.cpp When we perform a lookup for a dependent name that is a member of an 2011-10-24 22:24:50 +00:00
SemaObjCProperty.cpp objc-arc: 'readonly' property of retainable object 2011-11-08 20:58:53 +00:00
SemaOverload.cpp Move "Unqualified lookup into dependent bases of class templates" Microsoft specific behavior from -fms-extensions to -fms-compatibility. 2011-11-11 00:12:11 +00:00
SemaPseudoObject.cpp Revert r143972, which didn't actually compile under -Wnon-virtual-dtor. 2011-11-08 01:53:17 +00:00
SemaStmt.cpp Don't apply NRVO to over-aligned variables. The caller only 2011-11-11 03:57:31 +00:00
SemaTemplate.cpp When we notice that a member function is defined with "= delete" or "= 2011-11-07 20:56:01 +00:00
SemaTemplateDeduction.cpp When we determine that a function template specialization produced as 2011-10-12 20:35:48 +00:00
SemaTemplateInstantiate.cpp Fixed source range for template implicit instantiations. 2011-10-03 20:34:03 +00:00
SemaTemplateInstantiateDecl.cpp Removing unused initialization. 2011-11-10 05:42:04 +00:00
SemaTemplateVariadic.cpp Check for unexpanded parameter packs in the name that guards a 2011-10-25 03:44:56 +00:00
SemaType.cpp Make sure that restrict-qualifying an array actually adds a restrict qualifier. PR11354. (operator bool() is evil!) 2011-11-11 02:00:42 +00:00
TargetAttributesSema.cpp Fix compiler warning about && in ||. 2011-09-30 20:32:22 +00:00
TargetAttributesSema.h Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
TreeTransform.h Don't crash when transforming an ill-formed pseudo-destructor 2011-11-09 02:19:47 +00:00
TypeLocBuilder.h Remove more unnecessary #include <llvm/ADT/SmallVector.h> 2011-06-20 06:11:46 +00:00