[all-commits] [llvm/llvm-project] 6c18f7: For PR46800, implement the GCC __builtin_complex b...

Richard Smith via All-commits all-commits at lists.llvm.org
Wed Jul 22 13:43:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c18f7db73a08f1ae39a76a86b414c5b0c24ee86
      https://github.com/llvm/llvm-project/commit/6c18f7db73a08f1ae39a76a86b414c5b0c24ee86
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/include/clang/Basic/Builtins.def
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/Sema.h
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Sema/DeclSpec.cpp
    M clang/lib/Sema/SemaChecking.cpp
    A clang/test/CodeGen/builtin-complex.c
    A clang/test/CodeGen/complex-builtins-3.c
    R clang/test/CodeGen/complex-builtints.c
    M clang/test/Sema/Float16.c
    M clang/test/Sema/builtins.c
    M clang/test/Sema/fp16-sema.c
    M clang/test/SemaCXX/builtins.cpp

  Log Message:
  -----------
  For PR46800, implement the GCC __builtin_complex builtin.

glibc's implementation of the CMPLX macro uses it (with -fgnuc-version
set to 4.7 or later).




More information about the All-commits mailing list