[PATCH] D48661: [Fixed Point Arithmetic] Fixed Point Constant
Leonard Chan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 28 16:46:45 PDT 2018
leonardchan updated this revision to Diff 153426.
leonardchan marked 8 inline comments as done.
leonardchan added a comment.
Herald added a subscriber: mgorny.
- Renamed to APFixedPoint
- Added `FixedPointSemantics` to represent saturation and whether or not padding is involved. Similar to `APFloatSemantics`, this indicated how the underlying APSInt passed to this will be used (ie. is the MSB padding or not).
Repository:
rC Clang
https://reviews.llvm.org/D48661
Files:
include/clang/AST/ASTContext.h
include/clang/Basic/FixedPoint.h
include/clang/Basic/TargetInfo.h
lib/AST/ASTContext.cpp
lib/Basic/CMakeLists.txt
lib/Basic/FixedPoint.cpp
lib/Sema/SemaExpr.cpp
test/Frontend/fixed_point_declarations.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48661.153426.patch
Type: text/x-patch
Size: 15643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180628/a2ad0605/attachment-0001.bin>
More information about the cfe-commits
mailing list