llvm-project/clang/lib/AST
Matheus Izvekov 37adc4f957 [clang] set templates as invalid when any of the parameters are invalid
See PR51872 for the original repro.

This fixes a crash when converting a templated constructor into a deduction
guide, in case any of the template parameters were invalid.

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>

Reviewed By: rsmith

Differential Revision: https://reviews.llvm.org/D110460
2021-09-25 04:04:47 +02:00
..
Interp [clang] Fix a few more comment typos to cycle bots 2021-09-20 20:06:03 -04:00
APValue.cpp
ASTConcept.cpp
ASTConsumer.cpp
ASTContext.cpp [clang] Fix a few more comment typos to cycle bots 2021-09-20 20:06:03 -04:00
ASTDiagnostic.cpp
ASTDumper.cpp
ASTImporter.cpp [clang][ASTImporter] Generic attribute import handling (first step). 2021-09-22 10:14:03 +02:00
ASTImporterLookupTable.cpp
ASTStructuralEquivalence.cpp
ASTTypeTraits.cpp
AttrDocTable.cpp
AttrImpl.cpp
CMakeLists.txt
CXXABI.h
CXXInheritance.cpp
Comment.cpp
CommentBriefParser.cpp [clang] Fix a few more comment typos to cycle bots 2021-09-20 20:06:03 -04:00
CommentCommandTraits.cpp
CommentLexer.cpp
CommentParser.cpp
CommentSema.cpp
ComparisonCategories.cpp [clang] Fix a few more comment typos to cycle bots 2021-09-20 20:06:03 -04:00
ComputeDependence.cpp
DataCollection.cpp
Decl.cpp [AST] Pick last tentative definition as the acting definition 2021-08-26 16:49:54 -05:00
DeclBase.cpp
DeclCXX.cpp [clang] Fix a few more comment typos to cycle bots 2021-09-20 20:06:03 -04:00
DeclFriend.cpp
DeclGroup.cpp
DeclObjC.cpp
DeclOpenMP.cpp
DeclPrinter.cpp
DeclTemplate.cpp [clang] set templates as invalid when any of the parameters are invalid 2021-09-25 04:04:47 +02:00
DeclarationName.cpp
Expr.cpp [OpenCL] Defines helper function for OpenCL default address space 2021-09-21 15:12:08 +01:00
ExprCXX.cpp
ExprClassification.cpp
ExprConcepts.cpp
ExprConstant.cpp [clang] don't mark as Elidable CXXConstruct expressions used in NRVO 2021-09-21 21:41:20 +02:00
ExprObjC.cpp
ExternalASTMerger.cpp
ExternalASTSource.cpp
FormatString.cpp
FormatStringParsing.h
InheritViz.cpp
ItaniumCXXABI.cpp
ItaniumMangle.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
JSONNodeDumper.cpp
Linkage.h
Mangle.cpp
MicrosoftCXXABI.cpp
MicrosoftMangle.cpp [clang] Fix a few more comment typos to cycle bots 2021-09-20 20:06:03 -04:00
NSAPI.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
NestedNameSpecifier.cpp Fully qualify template template parameters when printing 2021-09-02 15:04:34 -07:00
ODRHash.cpp
OSLog.cpp
OpenMPClause.cpp OpenMP 5.0 metadirective 2021-09-18 13:40:44 -05:00
ParentMap.cpp
ParentMapContext.cpp
PrintfFormatString.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
QualTypeNames.cpp
RawCommentList.cpp
RecordLayout.cpp
RecordLayoutBuilder.cpp [clang] Fix a few more comment typos to cycle bots 2021-09-20 20:06:03 -04:00
ScanfFormatString.cpp
SelectorLocationsKind.cpp
Stmt.cpp
StmtCXX.cpp
StmtIterator.cpp
StmtObjC.cpp
StmtOpenMP.cpp OpenMP 5.0 metadirective 2021-09-18 13:40:44 -05:00
StmtPrinter.cpp OpenMP 5.0 metadirective 2021-09-18 13:40:44 -05:00
StmtProfile.cpp OpenMP 5.0 metadirective 2021-09-18 13:40:44 -05:00
StmtViz.cpp
TemplateBase.cpp Fully qualify template template parameters when printing 2021-09-02 15:04:34 -07:00
TemplateName.cpp Fully qualify template template parameters when printing 2021-09-02 15:04:34 -07:00
TextNodeDumper.cpp
Type.cpp Print nullptr_t namespace qualified within std:: 2021-09-21 11:21:40 -07:00
TypeLoc.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
TypePrinter.cpp [Clang] Ignore BTFTag attr if used as a type attribute 2021-09-22 13:48:29 -07:00
VTTBuilder.cpp
VTableBuilder.cpp