Commit 5729e63a authored by Walter Gray's avatar Walter Gray Committed by Tom Stellard
Browse files

Fix ArgsAsWritten being null for ConceptSpecializationExpr in certain

circumstances when parsing ASTs

Fix ArgsAsWritten being null for ConceptSpecializationExpr in certain
circumstances when parsing ASTs

ASTStmtWriter::VisitConceptSpecializationExpr specifically expects
getTemplateArgsAsWritten() to return true, which it wasn't when parsed
by ASTContext.cpp in certain edge cases.

Fixes: #61486

Differential Revision: https://reviews.llvm.org/D146678

(cherry picked from commit 1f48a1fc)

Add additional overload to prevent API break.
parent 2eb26b66
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment