Files
clang-p2996/clang/test/Modules
Alejandro Álvarez Ayllón a13bcf3ced [clang] Do not serialize function definitions without a body (#121550)
An instantiated templated function definition may not have a body due to
parsing errors inside the templated function. When serializing, an
assert is triggered inside `ASTRecordWriter::AddFunctionDefinition`.

The instantiation may happen on an intermediate module.

The test case was reduced from `mp-units`.
2025-01-06 18:52:11 +08:00
..