[clang-tools-extra] r307701 - Fix clang-tidy diagnostic.cpp test on Windows

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 12 08:38:08 PDT 2017


Thank you!

On Tue, Jul 11, 2017 at 10:22 PM, Reid Kleckner via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> Author: rnk
> Date: Tue Jul 11 13:22:17 2017
> New Revision: 307701
>
> URL: http://llvm.org/viewvc/llvm-project?rev=307701&view=rev
> Log:
> Fix clang-tidy diagnostic.cpp test on Windows
>
> Modified:
>     clang-tools-extra/trunk/test/clang-tidy/diagnostic.cpp
>
> Modified: clang-tools-extra/trunk/test/clang-tidy/diagnostic.cpp
> URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/
> trunk/test/clang-tidy/diagnostic.cpp?rev=307701&r1=
> 307700&r2=307701&view=diff
> ============================================================
> ==================
> --- clang-tools-extra/trunk/test/clang-tidy/diagnostic.cpp (original)
> +++ clang-tools-extra/trunk/test/clang-tidy/diagnostic.cpp Tue Jul 11
> 13:22:17 2017
> @@ -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
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170712/6d9156d6/attachment-0001.html>


More information about the cfe-commits mailing list