From d103e2d267dbe34d8fcce931abb9752d96e2f9d6 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Fri, 11 Oct 2019 13:16:49 +0000 Subject: [ClangTidy] Separate tests for infrastructure and checkers, fixup Renamed a file that I missed in r374540. llvm-svn: 374549 --- .../test/clang-tidy/checkers/Inputs/Headers/stdio.h | 18 ++++++++++++++++++ .../clang-tidy/infrastructure/Inputs/Headers/stdio.h | 18 ------------------ 2 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/stdio.h delete mode 100644 clang-tools-extra/test/clang-tidy/infrastructure/Inputs/Headers/stdio.h diff --git a/clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/stdio.h b/clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/stdio.h new file mode 100644 index 00000000000..eebe9fd914a --- /dev/null +++ b/clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/stdio.h @@ -0,0 +1,18 @@ +//===--- stdio.h - Stub header for tests ------------------------*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef _STDIO_H_ +#define _STDIO_H_ + +// A header intended to contain C standard input and output library +// declarations. + +int printf(const char *, ...); + +#endif // _STDIO_H_ + diff --git a/clang-tools-extra/test/clang-tidy/infrastructure/Inputs/Headers/stdio.h b/clang-tools-extra/test/clang-tidy/infrastructure/Inputs/Headers/stdio.h deleted file mode 100644 index eebe9fd914a..00000000000 --- a/clang-tools-extra/test/clang-tidy/infrastructure/Inputs/Headers/stdio.h +++ /dev/null @@ -1,18 +0,0 @@ -//===--- stdio.h - Stub header for tests ------------------------*- C++ -*-===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// - -#ifndef _STDIO_H_ -#define _STDIO_H_ - -// A header intended to contain C standard input and output library -// declarations. - -int printf(const char *, ...); - -#endif // _STDIO_H_ - -- cgit v1.2.3