mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-22 11:15:44 +00:00
[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:
parent
da8a3b903b
commit
5f252cac51
@ -7,8 +7,6 @@ add_clang_library(clangTidy
|
||||
ClangTidyModule.cpp
|
||||
ClangTidyDiagnosticConsumer.cpp
|
||||
ClangTidyOptions.cpp
|
||||
IncludeInserter.cpp
|
||||
IncludeSorter.cpp
|
||||
|
||||
DEPENDS
|
||||
ClangSACheckers
|
||||
|
@ -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>
|
||||
|
||||
|
@ -2,6 +2,8 @@ set(LLVM_LINK_COMPONENTS support)
|
||||
|
||||
add_clang_library(clangTidyUtils
|
||||
HeaderGuard.cpp
|
||||
IncludeInserter.cpp
|
||||
IncludeSorter.cpp
|
||||
|
||||
LINK_LIBS
|
||||
clangAST
|
||||
|
@ -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 {
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user