[clang-tidy] Move IncludeSorter.* and IncludeInserter.* to clang-tidy/utils/

This is better structurally and it also fixes a linker error in the configure
build.

llvm-svn: 245052
This commit is contained in:
Alexander Kornienko 2015-08-14 14:31:31 +00:00
parent da8a3b903b
commit 5f252cac51
8 changed files with 5 additions and 5 deletions

View File

@ -7,8 +7,6 @@ add_clang_library(clangTidy
ClangTidyModule.cpp
ClangTidyDiagnosticConsumer.cpp
ClangTidyOptions.cpp
IncludeInserter.cpp
IncludeSorter.cpp
DEPENDS
ClangSACheckers

View File

@ -11,7 +11,7 @@
#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_MODERNIZE_PASS_BY_VALUE_H
#include "../ClangTidy.h"
#include "../IncludeInserter.h"
#include "../utils/IncludeInserter.h"
#include <memory>

View File

@ -2,6 +2,8 @@ set(LLVM_LINK_COMPONENTS support)
add_clang_library(clangTidyUtils
HeaderGuard.cpp
IncludeInserter.cpp
IncludeSorter.cpp
LINK_LIBS
clangAST

View File

@ -10,7 +10,7 @@
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_INCLUDESORTER_H
#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_INCLUDESORTER_H
#include "ClangTidy.h"
#include "../ClangTidy.h"
#include <string>
namespace clang {

View File

@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//
#include "../clang-tidy/IncludeInserter.h"
#include "../clang-tidy/utils/IncludeInserter.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Frontend/CompilerInstance.h"
#include "ClangTidyTest.h"