llvm-project/clang/lib/Sema
Douglas Gregor 0be31a2eb7 Move the "current scope" state from the Parser into Action. This
allows Sema some limited access to the current scope, which we only
use in one way: when Sema is performing some kind of declaration that
is not directly driven by the parser (e.g., due to template
instantiatio or lazy declaration of a member), we can find the Scope
associated with a DeclContext, if that DeclContext is still in the
process of being parsed. 

Use this to make the implicit declaration of special member functions
in a C++ class more "scope-less", rather than using the NULL Scope hack.

llvm-svn: 107491
2010-07-02 17:43:08 +00:00
..
AnalysisBasedWarnings.cpp Add a hack to silence warnings about failing to return from functions after 2010-05-17 23:51:52 +00:00
AnalysisBasedWarnings.h Remove micro-optimization for not issueing CFG-based warnings for 'static inline' functions 2010-04-08 18:51:44 +00:00
CMakeLists.txt Update CMake build system for ARM NEON generation. 2010-06-17 15:17:41 +00:00
CXXFieldCollector.h ActOnTagDefinitionError is supposed to 'unwind' ActOnTagStartDefinition, not 2010-03-17 19:25:57 +00:00
CodeCompleteConsumer.cpp Introduce priorities into the code-completion results. 2010-05-26 22:00:08 +00:00
IdentifierResolver.cpp Optimize the implementation of IdDeclInfo pooling in the IdentifierResolver. 2010-02-15 19:38:00 +00:00
IdentifierResolver.h Eliminate dead code. 2010-01-02 21:44:36 +00:00
JumpDiagnostics.cpp Be a bit more careful with undefined CXXRecordDecls. Fixes 2010-07-01 00:21:21 +00:00
Lookup.h Fix a point of semantics with using declaration hiding: method templates 2010-06-16 08:42:20 +00:00
Makefile Makefiles: Set Clang CPP compiler flags in a single location, instead of scattered throughout the project Makefiles. 2010-06-08 20:44:43 +00:00
ParseAST.cpp push some source location information down through the compiler, 2010-04-20 20:35:58 +00:00
Sema.cpp Move the "current scope" state from the Parser into Action. This 2010-07-02 17:43:08 +00:00
Sema.h Move the "current scope" state from the Parser into Action. This 2010-07-02 17:43:08 +00:00
SemaAccess.cpp Partial fix for PR7267 based on comments by John McCall on an earlier patch. 2010-06-28 08:39:25 +00:00
SemaAttr.cpp Sema: Fix comment, apparently #pragma options align=power is just the same as 2010-05-28 20:08:00 +00:00
SemaCXXCast.cpp Give Type::isIntegralType() an ASTContext parameter, so that it 2010-06-16 00:35:25 +00:00
SemaCXXScopeSpec.cpp When typo correction produces a result that is not of the kind we're 2010-06-29 19:27:42 +00:00
SemaChecking.cpp improve altivec vector bool/pixel support, patch by Anton Yartsev 2010-06-23 06:00:24 +00:00
SemaCodeComplete.cpp Patch to provide separate ASTs for multiple ObjC class extension 2010-06-22 23:20:40 +00:00
SemaDecl.cpp Add a new routine Sema::LookupDestructor and make all destructor-lookup calls use that routine 2010-07-01 22:47:18 +00:00
SemaDeclAttr.cpp Complain about the application of a transparent_union attribute to a 2010-06-30 17:24:13 +00:00
SemaDeclCXX.cpp Move the "current scope" state from the Parser into Action. This 2010-07-02 17:43:08 +00:00
SemaDeclObjC.cpp Patch to provide separate ASTs for multiple ObjC class extension 2010-06-22 23:20:40 +00:00
SemaExceptionSpec.cpp Disable exception-spec compatibility checking under -fno-exceptions. 2010-05-28 08:37:35 +00:00
SemaExpr.cpp Fix vector literal/cast confusion - bug 6895. 2010-06-30 22:55:51 +00:00
SemaExprCXX.cpp Add a new routine Sema::LookupDestructor and make all destructor-lookup calls use that routine 2010-07-01 22:47:18 +00:00
SemaExprObjC.cpp C return types must be complete as well. 2010-06-16 19:56:08 +00:00
SemaInit.cpp Add a new routine Sema::LookupDestructor and make all destructor-lookup calls use that routine 2010-07-01 22:47:18 +00:00
SemaInit.h Use MaybeCreateCXXExprWithTemporaries for potential destruction of 2010-06-07 16:14:00 +00:00
SemaLookup.cpp Add a new routine Sema::LookupDestructor and make all destructor-lookup calls use that routine 2010-07-01 22:47:18 +00:00
SemaObjCProperty.cpp This patch fixes a bug whereby, clang skipped 2010-06-29 18:12:32 +00:00
SemaOverload.cpp Extend the "cannot convert from base class pointer to derived class 2010-07-01 02:14:45 +00:00
SemaOverload.h An identity conversion is better than any non-identity 2010-05-23 22:10:15 +00:00
SemaStmt.cpp Implement C++ DR299, which allows an implicit conversion from a class 2010-06-30 00:20:43 +00:00
SemaTemplate.cpp Implement C++ DR481, which clarifies that the scope of template 2010-07-01 00:00:45 +00:00
SemaTemplate.h After performing template argument deduction for a function template, 2010-03-28 02:42:43 +00:00
SemaTemplateDeduction.cpp Split DependentNameType into two types. DependentNameType represents the 2010-06-11 00:33:02 +00:00
SemaTemplateInstantiate.cpp Move the "current scope" state from the Parser into Action. This 2010-07-02 17:43:08 +00:00
SemaTemplateInstantiateDecl.cpp Implement dependent alignment attribute support. This is a bit gross given the 2010-06-25 03:22:07 +00:00
SemaType.cpp improve altivec vector bool/pixel support, patch by Anton Yartsev 2010-06-23 06:00:24 +00:00
TargetAttributesSema.cpp Don't emit a warning about a dllimport attribute being used in a typedef 2010-02-21 05:12:56 +00:00
TargetAttributesSema.h Generalize target weirdness handling having proper layering in mind: 2010-01-10 12:58:08 +00:00
TreeTransform.h improve altivec vector bool/pixel support, patch by Anton Yartsev 2010-06-23 06:00:24 +00:00