From f84c2fc51aa00c1a1383428afd5818e96b82eafb Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Tue, 11 Jul 2017 20:22:17 +0000 Subject: [PATCH] Fix clang-tidy diagnostic.cpp test on Windows llvm-svn: 307701 --- clang-tools-extra/test/clang-tidy/diagnostic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-tools-extra/test/clang-tidy/diagnostic.cpp b/clang-tools-extra/test/clang-tidy/diagnostic.cpp index 944c051ff824..656e05b7ece0 100644 --- a/clang-tools-extra/test/clang-tidy/diagnostic.cpp +++ b/clang-tools-extra/test/clang-tidy/diagnostic.cpp @@ -13,7 +13,7 @@ // use it after failing to parse commands from the command line: // // RUN: mkdir -p %T/diagnostics/ -// RUN: echo '[{"directory": "%T/diagnostics/","command": "clang++ -fan-option-from-compilation-database -c %T/diagnostics/input.cpp", "file": "%T/diagnostics/input.cpp"}]' > %T/diagnostics/compile_commands.json +// RUN: echo '[{"directory": "%/T/diagnostics/","command": "clang++ -fan-option-from-compilation-database -c %/T/diagnostics/input.cpp", "file": "%/T/diagnostics/input.cpp"}]' > %T/diagnostics/compile_commands.json // RUN: cat %s > %T/diagnostics/input.cpp // RUN: clang-tidy -checks='-*,modernize-use-override' %T/diagnostics/nonexistent.cpp -- 2>&1 | FileCheck -check-prefix=CHECK1 -implicit-check-not='{{warning:|error:}}' %s // RUN: clang-tidy -checks='-*,clang-diagnostic-*,google-explicit-constructor' %T/diagnostics/input.cpp -- -fan-unknown-option 2>&1 | FileCheck -check-prefix=CHECK2 -implicit-check-not='{{warning:|error:}}' %s