[PATCH] D53308: [Fixed Point Arithmetic] Fixed Point to Boolean Cast

Leonard Chan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 15 18:09:59 PDT 2018


leonardchan created this revision.
leonardchan added reviewers: ebevhan, rjmccall, bjope.
leonardchan added a project: clang.

This patch is a part of https://reviews.llvm.org/D48456 in an attempt to split the casting logic up into smaller patches. This contains the code for casting from fixed point types to boolean types.


Repository:
  rC Clang

https://reviews.llvm.org/D53308

Files:
  clang/include/clang/AST/OperationKinds.def
  clang/lib/AST/Expr.cpp
  clang/lib/AST/ExprConstant.cpp
  clang/lib/CodeGen/CGExpr.cpp
  clang/lib/CodeGen/CGExprAgg.cpp
  clang/lib/CodeGen/CGExprComplex.cpp
  clang/lib/CodeGen/CGExprConstant.cpp
  clang/lib/CodeGen/CGExprScalar.cpp
  clang/lib/Edit/RewriteObjCFoundationAPI.cpp
  clang/lib/Sema/Sema.cpp
  clang/lib/Sema/SemaExpr.cpp
  clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
  clang/test/Frontend/fixed_point_to_bool.c
  clang/test/Frontend/fixed_point_unknown_conversions.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53308.169775.patch
Type: text/x-patch
Size: 11629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181016/4c578757/attachment.bin>


More information about the cfe-commits mailing list