You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- a/clang/lib/Serialization/ASTReader.cpp
+++ b/clang/lib/Serialization/ASTReader.cpp
@@ -7585,6 +7585,7 @@ ASTRecordReader::readTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind) {
case TemplateArgument::NullPtr:
case TemplateArgument::StructuralValue:
case TemplateArgument::Pack:
+ case TemplateArgument::SpliceSpecifier:
// FIXME: Is this right?
return TemplateArgumentLocInfo();
}
While I don't know if it is correct, it helps avoid another crash. It doesn't help the $title issue.
The text was updated successfully, but these errors were encountered:
The crash seams to only happen, if the spliced expand statement is located in an included file.
To Reproduce
See https://github.com/fzuuzf/crash_clang-p2996-clangd
I also ran clangd with this applied:
While I don't know if it is correct, it helps avoid another crash. It doesn't help the $title issue.
The text was updated successfully, but these errors were encountered: