[PATCH] [complex] Teach Clang to preserve different-type operands to arithmeticoperators where one type is a C complex type, and to emit both the efficientand correct implementation for complex arithmetic according to C11 AnnexG using this extra...

Chandler Carruth chandlerc at gmail.com
Fri Oct 10 04:59:01 PDT 2014


Run clang-format over the patch to fix some lingering formatting issues.

http://reviews.llvm.org/D5698

Files:
  lib/AST/ExprConstant.cpp
  lib/CodeGen/CGExprComplex.cpp
  lib/Sema/SemaExpr.cpp
  test/CodeGen/complex-math.c
  test/SemaCXX/complex-folding.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5698.14714.patch
Type: text/x-patch
Size: 43397 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141010/2a184078/attachment.bin>


More information about the cfe-commits mailing list