diff options
author | Krzysztof Drewniak <Krzysztof.Drewniak@amd.com> | 2024-12-16 07:10:17 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-16 07:10:17 -0800 |
commit | b3d392af5b2706d46fea086579ffdf1dda5c648b (patch) | |
tree | 49ad0ec9af036e607dffb28f10f6cca13f14388d /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 6d1a51303edd33faab34732a77a874f3eb74dbfd (diff) | |
download | llvm-b3d392af5b2706d46fea086579ffdf1dda5c648b.zip llvm-b3d392af5b2706d46fea086579ffdf1dda5c648b.tar.gz llvm-b3d392af5b2706d46fea086579ffdf1dda5c648b.tar.bz2 |
[mlir][tblgen] Fix bug around parsing optional prop-dict keys (#120045)
The printer for prop-dict would elide properties that had their default
value, such as optional properties that were not present. The parser
would similarly not raise an error if such a key was missing. However,
after not raising an error, the parser would attempt to convert the null
attribute to a property anyway, causing failures.
This commit fixes the issue and adds tests.
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions