Author: Iain Sandoe Date: 2022-04-03T11:39:00+01:00 New Revision: 1f0b8ba47ab0f1dc678099d4830d0cc0d10850b6
URL: https://github.com/llvm/llvm-project/commit/1f0b8ba47ab0f1dc678099d4830d0cc0d10850b6 DIFF: https://github.com/llvm/llvm-project/commit/1f0b8ba47ab0f1dc678099d4830d0cc0d10850b6.diff LOG: [C++20][Modules] Fix a testcase warning on Windows [NFC]. As reported, using "-DTDIR=%t" with a path name of 'C:\Users\...' causes a warning to be emitted about the use of \U without following hex digits. Since the value is only required for the FileCheck cases resolve this by omitting the -D from the compile lines. Added: Modified: clang/test/Modules/cxx20-hu-04.cpp Removed: ################################################################################ diff --git a/clang/test/Modules/cxx20-hu-04.cpp b/clang/test/Modules/cxx20-hu-04.cpp index 1de8ceff3e7f5..da6056d4d47ed 100644 --- a/clang/test/Modules/cxx20-hu-04.cpp +++ b/clang/test/Modules/cxx20-hu-04.cpp @@ -19,10 +19,10 @@ // RUN: FileCheck --check-prefix=CHECK-HU2 %s -DTDIR=%t // RUN: %clang_cc1 -std=c++20 -emit-module-interface importer-01.cpp \ -// RUN: -fmodule-file=hu-02.pcm -o B.pcm -DTDIR=%t -verify +// RUN: -fmodule-file=hu-02.pcm -o B.pcm -verify // RUN: %clang_cc1 -std=c++20 -emit-module-interface importer-02.cpp \ -// RUN: -fmodule-file=hu-02.pcm -o C.pcm -DTDIR=%t -Rmodule-import 2>&1 | \ +// RUN: -fmodule-file=hu-02.pcm -o C.pcm -Rmodule-import 2>&1 | \ // RUN: FileCheck --check-prefix=CHECK-IMP-HU2 %s -DTDIR=%t //--- hu-01.h _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits