Assignment and comma operators for fixed-point types were being constevaled as other
binary operators, but they need special treatment.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D73189
[AST] Fix certain consteval assignment and comma operator issues with fixed-point types. ClosedPublic Authored by ebevhan on Jan 22 2020, 6:27 AM.
Details Summary Assignment and comma operators for fixed-point types were being constevaled as other
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 22 2020, 5:25 PM Closed by commit rGda2f852e1913: [AST] Fix certain consteval assignment and comma operator issues with fixed… (authored by ebevhan). · Explain WhyJun 26 2020, 4:51 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 255979 clang/lib/AST/ExprConstant.cpp
clang/test/Frontend/fixed_point_crash.c
|
clang-format not found in user's PATH; not linting file.