[clang-tools-extra] r364008 - [clang-tidy] Move test files of rL363975 into Inputs directory

Kadir Cetinkaya via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 21 00:54:27 PDT 2019


Author: kadircet
Date: Fri Jun 21 00:54:27 2019
New Revision: 364008

URL: http://llvm.org/viewvc/llvm-project?rev=364008&view=rev
Log:
[clang-tidy] Move test files of rL363975 into Inputs directory

Added:
    clang-tools-extra/trunk/test/clang-tidy/Inputs/empty-database/
    clang-tools-extra/trunk/test/clang-tidy/Inputs/empty-database/compile_commands.json
Removed:
    clang-tools-extra/trunk/test/clang-tidy/empty-database/
Modified:
    clang-tools-extra/trunk/test/clang-tidy/empty-database.cpp

Added: clang-tools-extra/trunk/test/clang-tidy/Inputs/empty-database/compile_commands.json
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/Inputs/empty-database/compile_commands.json?rev=364008&view=auto
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/Inputs/empty-database/compile_commands.json (added)
+++ clang-tools-extra/trunk/test/clang-tidy/Inputs/empty-database/compile_commands.json Fri Jun 21 00:54:27 2019
@@ -0,0 +1,4 @@
+[{
+    "directory":"",
+    "file":"/tmp/","arguments":[]
+}]

Modified: clang-tools-extra/trunk/test/clang-tidy/empty-database.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/empty-database.cpp?rev=364008&r1=364007&r2=364008&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/empty-database.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/empty-database.cpp Fri Jun 21 00:54:27 2019
@@ -1,3 +1,3 @@
-// RUN: not clang-tidy -p %S/empty-database %s 2>&1 | FileCheck %s
+// RUN: not clang-tidy -p %S/Inputs/empty-database %s 2>&1 | FileCheck %s
 
 // CHECK: LLVM ERROR: Cannot chdir into ""!




More information about the cfe-commits mailing list