llvm-project/clang/lib/Sema
Richard Smith 9975dc38bf Defer checking for mismatches between the deletedness of and overriding
function and an overridden function until we know whether the overriding
function is deleted.

We previously did these checks when we first built the declaration,
which was too soon in some cases. We now defer all these checks to the
end of the class.

Also add missing check that a consteval function cannot override a
non-consteval function and vice versa.
2020-03-12 13:07:22 -07:00
..
AnalysisBasedWarnings.cpp Revert "[clang] detect switch fallthrough marked by a comment (PR43465)" 2020-03-02 22:33:25 +01:00
CMakeLists.txt [Sema] Split availability processing into SemaAvailability.cpp 2020-01-24 17:35:39 -08:00
CodeCompleteConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CoroutineStmtBuilder.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DeclSpec.cpp Avoid SourceManager.h include in RawCommentList.h, add missing incs 2020-02-27 13:49:40 -08:00
DelayedDiagnostic.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IdentifierResolver.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
JumpDiagnostics.cpp [CodeGen] Emit destructor calls to destruct compound literals 2020-03-10 14:08:28 -07:00
MultiplexExternalSemaSource.cpp [clang] Improve LLVM-style RTTI support in ExternalASTSource/ExternalSemaSource 2019-12-15 18:11:01 +01:00
OpenCLBuiltins.td [OpenCL] Add missing get_image_array_size builtins 2020-03-12 13:43:51 +00:00
ParsedAttr.cpp Handle PluginAttrInstances using ManagedStatic 2020-03-04 15:03:13 +00:00
Scope.cpp Un-revert "[coroutines][PR40978] Emit error for co_yield within catch block" 2019-03-25 00:53:10 +00:00
ScopeInfo.cpp PR42104: Support instantiations of lambdas that implicitly capture 2019-06-04 17:17:20 +00:00
Sema.cpp Avoid SourceManager.h include in RawCommentList.h, add missing incs 2020-02-27 13:49:40 -08:00
SemaAccess.cpp [c++20] Delete defaulted comparison functions if they would invoke an 2019-12-10 19:28:30 -08:00
SemaAttr.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
SemaAvailability.cpp Prune TargetInfo.h include from ParsedAttr.h, NFC 2020-03-11 20:47:11 -07:00
SemaCUDA.cpp Prune TargetInfo.h include from ParsedAttr.h, NFC 2020-03-11 20:47:11 -07:00
SemaCXXScopeSpec.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SemaCast.cpp Don't emit pointer to int cast warnings under -Wmicrosoft-cast 2020-03-09 13:27:46 -07:00
SemaChecking.cpp Suppress an "unused variable" warning in release build 2020-03-10 17:10:52 +00:00
SemaCodeComplete.cpp [Sema][CodeComplete] Handle symlinks for include code completion 2020-02-19 11:45:58 -05:00
SemaConcept.cpp [Concepts] Add missing CXXThisScope to function template constraint substitution 2020-02-05 01:10:35 +02:00
SemaConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SemaCoroutine.cpp Fix "pointer is null" static analyzer warnings. NFCI. 2020-01-09 12:05:48 +00:00
SemaDecl.cpp Defer checking for mismatches between the deletedness of and overriding 2020-03-12 13:07:22 -07:00
SemaDeclAttr.cpp [Sema][SVE] Reject aligned/_Alignas for sizeless types 2020-03-12 17:12:40 +00:00
SemaDeclCXX.cpp Defer checking for mismatches between the deletedness of and overriding 2020-03-12 13:07:22 -07:00
SemaDeclObjC.cpp Prune TargetInfo.h include from ParsedAttr.h, NFC 2020-03-11 20:47:11 -07:00
SemaExceptionSpec.cpp [OPENMP50]Add basic support for depobj construct. 2020-03-02 13:10:32 -05:00
SemaExpr.cpp [Sema][SVE] Reject sizeof and alignof for sizeless types 2020-03-12 17:06:53 +00:00
SemaExprCXX.cpp PR45083: Mark statement expressions as being dependent if they appear in 2020-03-10 14:45:04 -07:00
SemaExprMember.cpp Resolve exception specifications after marking the corresponding 2019-12-15 22:02:30 -08:00
SemaExprObjC.cpp [objc_direct] Small updates to help with adoption. 2020-02-16 16:32:41 -08:00
SemaFixItUtils.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SemaInit.cpp Avoid SourceManager.h include in RawCommentList.h, add missing incs 2020-02-27 13:49:40 -08:00
SemaLambda.cpp [C++20] Add consteval-specific semantic for functions 2020-02-04 20:38:32 +01:00
SemaLookup.cpp Fix handling of destructor names that name typedefs. 2020-02-10 02:21:01 -08:00
SemaModule.cpp [DeclCXX] Remove unknown external linkage specifications 2019-11-21 15:23:05 +02:00
SemaObjCProperty.cpp [NFC] Remove trailing space 2020-02-18 10:49:13 +08:00
SemaOpenMP.cpp [clang] Prune 'IsOMPStructuredBlock' Stmt bit 2020-03-12 14:48:57 +03:00
SemaOverload.cpp [AST] Refactor propagation of dependency bits. NFC 2020-03-04 11:25:17 +01:00
SemaPseudoObject.cpp [AST] Use an explicit copy in a range-based for 2019-11-12 20:47:46 +01:00
SemaStmt.cpp [Sema] Reword -Wrange-loop-analysis warning messages 2020-03-06 14:57:01 +01:00
SemaStmtAsm.cpp Support output constraints on "asm goto" 2020-02-24 18:51:29 -08:00
SemaStmtAttr.cpp [NFCI]Create CommonAttributeInfo Type as base type of *Attr and ParsedAttr. 2019-09-13 17:39:31 +00:00
SemaTemplate.cpp PR45083: Mark statement expressions as being dependent if they appear in 2020-03-10 14:45:04 -07:00
SemaTemplateDeduction.cpp PR44890: Inherit explicitly-specified template arguments into base class 2020-02-15 02:16:21 -08:00
SemaTemplateInstantiate.cpp Prune TargetInfo.h include from ParsedAttr.h, NFC 2020-03-11 20:47:11 -07:00
SemaTemplateInstantiateDecl.cpp Prune TargetInfo.h include from ParsedAttr.h, NFC 2020-03-11 20:47:11 -07:00
SemaTemplateVariadic.cpp [NFC] Remove trailing space 2020-02-18 10:49:13 +08:00
SemaType.cpp [Sema][SVE] Reject atomic sizeless types 2020-03-12 17:20:23 +00:00
TreeTransform.h PR45083: Mark statement expressions as being dependent if they appear in 2020-03-10 14:45:04 -07:00
TypeLocBuilder.cpp [NFC] avoid AlignedCharArray in clang 2019-07-29 23:12:48 +00:00
TypeLocBuilder.h [NFC] avoid AlignedCharArray in clang 2019-07-29 23:12:48 +00:00