This patch adds the EXPR_FIXEDPOINT_LITERAL AST
code to serialize FixedPointLiterals. They were previously
being serialized with the code for integer literals, which
doesn't work properly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
include/clang/Serialization/ASTBitCodes.h | ||
---|---|---|
1637 ↗ | (On Diff #183511) | I'm unsure if this is the right location for a new code. This will bump down all the other codes below this and cause any older file to not be read correctly. Should the file format version number be bumped up? |
include/clang/Serialization/ASTBitCodes.h | ||
---|---|---|
1637 ↗ | (On Diff #183511) | IIRC the real file format version for this is based on the exact revision of the compiler and there is no pretense of serialized ASTs being sharable between compilers. I don't think we've ever bumped the version number for incompatible changes like this. |
Comment Actions
https://reviews.llvm.org/D77721 depends on this serialization change for fixed point literals.
clang/include/clang/Serialization/ASTBitCodes.h | ||
---|---|---|
1892 | Thanks! I'm sorry to be extremely picky about this, but:
|
Comment Actions
Thank you for the comments. Please do let me know when this patch is ready to land. Best!
Thanks!
I'm sorry to be extremely picky about this, but: