[PATCH] D48456: [Fixed Point Arithmetic] Casting between fixed point types and other arithmetic types

Leonard Chan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 22 11:33:33 PDT 2018


leonardchan updated this revision to Diff 152525.
leonardchan added a comment.

- Add test case for fix where 0.0r would resolve as -1 when creating a fixed point literal.


Repository:
  rC Clang

https://reviews.llvm.org/D48456

Files:
  include/clang/AST/ASTContext.h
  include/clang/AST/OperationKinds.def
  include/clang/AST/Type.h
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Basic/TargetInfo.h
  include/clang/Lex/LiteralSupport.h
  include/clang/Sema/Sema.h
  lib/AST/ASTContext.cpp
  lib/AST/Expr.cpp
  lib/AST/ExprConstant.cpp
  lib/AST/Type.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGExprAgg.cpp
  lib/CodeGen/CGExprComplex.cpp
  lib/CodeGen/CGExprConstant.cpp
  lib/CodeGen/CGExprScalar.cpp
  lib/Edit/RewriteObjCFoundationAPI.cpp
  lib/Lex/LiteralSupport.cpp
  lib/Sema/Sema.cpp
  lib/Sema/SemaCast.cpp
  lib/Sema/SemaExpr.cpp
  lib/StaticAnalyzer/Core/ExprEngineC.cpp
  test/Frontend/fixed_point_bit_widths.c
  test/Frontend/fixed_point_conversions.c
  test/Frontend/fixed_point_declarations.c
  test/Frontend/fixed_point_errors.c
  test/Frontend/fixed_point_same_fbits.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48456.152525.patch
Type: text/x-patch
Size: 54195 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180622/5d1d9300/attachment-0001.bin>


More information about the cfe-commits mailing list