hanchenye-llvm-project/clang/lib/Sema
John McCall 9de9160d55 Implement an indirect-goto optimization for goto *&&lbl and respect this
in the scope checker.  With that done, turn an indirect goto into a
protected scope into a hard error;  otherwise IR generation has to start
worrying about declarations not dominating their scopes, as exemplified
in PR8473.

If this really affects anyone, I can probably adjust this to only hard-error
on possible indirect gotos into VLA scopes rather than arbitrary scopes.
But we'll see how people cope with the aggressive change on the marginal
feature.

llvm-svn: 117539
2010-10-28 08:53:48 +00:00
..
AnalysisBasedWarnings.cpp Introduce new CFGElement hierarchy to support C++ CFG, based on Marcin's patch 2010-09-16 01:25:47 +00:00
AttributeList.cpp fix http://llvm.org/PR8371 in the straightforward way, also adding a comment 2010-10-15 08:26:25 +00:00
CMakeLists.txt Revert "CMake: Update to use standard CMake dependency tracking facilities instead" 2010-09-13 23:54:41 +00:00
CodeCompleteConsumer.cpp Eliminate the (de-)serialization of code completion results, now that 2010-10-11 22:12:15 +00:00
DeclSpec.cpp Implement the C++0x "trailing return type" feature, e.g., 2010-10-01 18:44:50 +00:00
IdentifierResolver.cpp Rename DeclContext::getLookupContext to getRedeclContext and change its semantics slightly. No functionality change in the absence of inline namespaces. Also, change a few places where inline namespaces actually make a difference to be prepared for them. 2010-08-31 00:36:30 +00:00
JumpDiagnostics.cpp Implement an indirect-goto optimization for goto *&&lbl and respect this 2010-10-28 08:53:48 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Sema.cpp Fix a silly bug in the suppression of non-error diagnostics in a 2010-10-13 17:22:14 +00:00
SemaAccess.cpp Access control polish: drop the note on the original declaration and 2010-10-20 08:15:06 +00:00
SemaAttr.cpp Warn if a variable marked with the "unused" attribute is used. Patch by Darin Adler! 2010-10-22 23:37:08 +00:00
SemaCXXCast.cpp Implement C++0x scoped enumerations, from Daniel Wallin! (and tweaked a 2010-10-08 23:50:27 +00:00
SemaCXXScopeSpec.cpp Rename DeclContext::getLookupContext to getRedeclContext and change its semantics slightly. No functionality change in the absence of inline namespaces. Also, change a few places where inline namespaces actually make a difference to be prepared for them. 2010-08-31 00:36:30 +00:00
SemaChecking.cpp When checking whether a return statement returns a stack-local 2010-10-21 16:21:08 +00:00
SemaCodeComplete.cpp Fix the translation of the PCC_ForInit code-completion context for 2010-10-18 22:01:46 +00:00
SemaDecl.cpp Avoid calculating linkage until the more obvious checks have run when 2010-10-27 01:41:35 +00:00
SemaDeclAttr.cpp Don't compute linkage for a declaration as part of the #pragma weak 2010-10-27 00:59:00 +00:00
SemaDeclCXX.cpp No really, we don't have a retain/release system for statements/expressions 2010-10-26 07:05:15 +00:00
SemaDeclObjC.cpp Implement the newest status quo for method override checking. The idea now 2010-10-28 02:34:38 +00:00
SemaExceptionSpec.cpp Emulate (some of) Microsoft's looser semantic checking of exception 2010-08-30 15:04:51 +00:00
SemaExpr.cpp Decay array/function types of a statement-expression. 2010-10-27 20:44:00 +00:00
SemaExprCXX.cpp No really, we don't have a retain/release system for statements/expressions 2010-10-26 07:05:15 +00:00
SemaExprObjC.cpp No really, we don't have a retain/release system for statements/expressions 2010-10-26 07:05:15 +00:00
SemaInit.cpp No really, we don't have a retain/release system for statements/expressions 2010-10-26 07:05:15 +00:00
SemaLookup.cpp Remove redundant test 2010-10-27 14:20:34 +00:00
SemaObjCProperty.cpp Tweak diagnostics for redeclaration of a @property in a class extension where the redelcaration and original 2010-10-21 18:49:42 +00:00
SemaOverload.cpp No really, we don't have a retain/release system for statements/expressions 2010-10-26 07:05:15 +00:00
SemaStmt.cpp Death to blocks, or at least the word "block" in one particular obnoxiously 2010-10-15 04:57:14 +00:00
SemaTemplate.cpp No really, we don't have a retain/release system for statements/expressions 2010-10-26 07:05:15 +00:00
SemaTemplateDeduction.cpp No really, we don't have a retain/release system for statements/expressions 2010-10-26 07:05:15 +00:00
SemaTemplateInstantiate.cpp No really, we don't have a retain/release system for statements/expressions 2010-10-26 07:05:15 +00:00
SemaTemplateInstantiateDecl.cpp No really, we don't have a retain/release system for statements/expressions 2010-10-26 07:05:15 +00:00
SemaType.cpp Uncomputable contexts are always records but can exist. 2010-10-19 01:54:45 +00:00
TargetAttributesSema.cpp Split out a header to hold APIs meant for the Sema implementation from Sema.h. 2010-08-25 22:03:47 +00:00
TargetAttributesSema.h Remove Sema.h's dependency on DeclCXX.h. 2010-08-25 07:42:41 +00:00
TreeTransform.h No really, we don't have a retain/release system for statements/expressions 2010-10-26 07:05:15 +00:00