[all-commits] [llvm/llvm-project] 39938f: Fix warn-unsafe-buffer-usage-fixits-pre-increment....

Hans via All-commits all-commits at lists.llvm.org
Thu Apr 13 01:26:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39938f2d096ca9ed03ecc17ea169ed3195682f18
      https://github.com/llvm/llvm-project/commit/39938f2d096ca9ed03ecc17ea169ed3195682f18
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2023-04-13 (Thu, 13 Apr 2023)

  Changed paths:
    M clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-pre-increment.cpp

  Log Message:
  -----------
  Fix warn-unsafe-buffer-usage-fixits-pre-increment.cpp for Windows

long is 32-bits on windows, so the test was failing with:

  error: cast from pointer to smaller type 'unsigned long' loses
  information

see e.g. https://lab.llvm.org/buildbot/#/builders/123/builds/18361

This is a follow-up to D144304




More information about the All-commits mailing list