[all-commits] [llvm/llvm-project] 8fb2a2: Don't reject calls to MinGW's unusual _setjmp decl...

Richard Smith via All-commits all-commits at lists.llvm.org
Fri Oct 2 15:12:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fb2a235b0f22dedba72b8b559ba33171a8dcd09
      https://github.com/llvm/llvm-project/commit/8fb2a235b0f22dedba72b8b559ba33171a8dcd09
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

  Changed paths:
    M clang/include/clang/Basic/Builtins.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/Sema/builtin-setjmp.c

  Log Message:
  -----------
  Don't reject calls to MinGW's unusual _setjmp declaration.

We now recognize this function as a builtin despite it having an
unexpected number of parameters; make sure we don't enforce that it has
only 1 argument for its 2 parameters.




More information about the All-commits mailing list