llvm-project/clang/lib/Serialization
Haojian Wu 73c12bd8ff [Concepts] Fix a deserialization crash.
`TemplateTypeParmDecl::hasTypeConstraint` is not a safe guard for
checking `TemplateTypeParmDecl::getTypeConstraint()` result is null.

in somecases (e.g. implicit deduction guide templates synthesized from the
constructor, immediately-declared constraint is not formed because of an error),
hasTypeConstraint returns false, and getTypeConstraint returns a nullptr.

Fix https://bugs.llvm.org/show_bug.cgi?id=46790

Differential Revision: https://reviews.llvm.org/D84455
2020-07-30 09:25:15 +02:00
..
ASTCommon.cpp [ARM] Add __bf16 as new Bfloat16 C Type 2020-06-05 10:32:43 +01:00
ASTCommon.h [OPENMP 5.0]Add initial support for 'allocate' directive. 2019-03-07 17:54:44 +00:00
ASTReader.cpp [OpenMP] Implement TR8 `present` motion modifier in Clang (1/2) 2020-07-29 12:18:45 -04:00
ASTReaderDecl.cpp [Concepts] Fix a deserialization crash. 2020-07-30 09:25:15 +02:00
ASTReaderInternals.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ASTReaderStmt.cpp [AST][FPEnv] Keep FP options in trailing storage of CallExpr 2020-07-24 12:04:19 +07:00
ASTWriter.cpp [OpenMP] Implement TR8 `present` motion modifier in Clang (1/2) 2020-07-29 12:18:45 -04:00
ASTWriterDecl.cpp Merge some of the PCH object support with modular codegen 2020-07-22 12:46:12 -07:00
ASTWriterStmt.cpp [AST][FPEnv] Keep FP options in trailing storage of CallExpr 2020-07-24 12:04:19 +07:00
CMakeLists.txt [openmp] Base of tablegen generated OpenMP common declaration 2020-06-23 10:32:32 -04:00
GeneratePCH.cpp [pch] Honour -fallow-pch-with-compiler-errors for overall compilation status 2020-03-31 13:50:12 -07:00
GlobalModuleIndex.cpp Return false if the identifier is not in the global module index. 2020-06-22 08:03:11 +00:00
InMemoryModuleCache.cpp Revert "[modules] Do not cache invalid state for modules that we attempted to load." 2020-03-10 10:59:26 -07:00
ModuleFile.cpp clang/Modules: Move Serialization/Module.{h,cpp} to ModuleFile, NFC 2019-11-21 19:07:00 -08:00
ModuleFileExtension.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ModuleManager.cpp [clang] Use IsVolatile=true and RequiresNullTerminator=false for PCMs 2020-06-10 14:37:30 -06:00
MultiOnDiskHashTable.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PCHContainerOperations.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00