[all-commits] [llvm/llvm-project] 1481fc: [clang] Try to unbreak test/C/drs/dr324.c on Windows

Nico Weber via All-commits all-commits at lists.llvm.org
Fri Dec 9 05:57:43 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1481fcf780bde7b115aa395064d71749b1a40889
      https://github.com/llvm/llvm-project/commit/1481fcf780bde7b115aa395064d71749b1a40889
  Author: Nico Weber <thakis at chromium.org>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M clang/test/C/drs/dr324.c

  Log Message:
  -----------
  [clang] Try to unbreak test/C/drs/dr324.c on Windows

The test uses

    #pragma GCC dependency "oops\..\dr0xx.c"

to test preprocessor "tokenization obscurities". However, that
pragma also emits a warning if the refered file is newer than the
current file -- and d694e2490af8 edited dr0xx.c, causing this warning
to fire.

As workaround, touch this file, so that it's newer than dr0xx.c again.




More information about the All-commits mailing list