forked from OSchip/llvm-project
Revert "Reland "Move #include manipulation code to new lib/Tooling/Inclusions.""
This reverts commit r333532. Revert for now to fix an internal bot issue. llvm-svn: 333534
This commit is contained in:
parent
46fdee75e7
commit
cfd01f94b2
|
@ -16,8 +16,8 @@
|
|||
#define LLVM_CLANG_FORMAT_FORMAT_H
|
||||
|
||||
#include "clang/Basic/LangOptions.h"
|
||||
#include "clang/Tooling/Core/IncludeStyle.h"
|
||||
#include "clang/Tooling/Core/Replacement.h"
|
||||
#include "clang/Tooling/Inclusions/IncludeStyle.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/Support/Regex.h"
|
||||
#include <system_error>
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_TOOLING_INCLUSIONS_HEADERINCLUDES_H
|
||||
#define LLVM_CLANG_TOOLING_INCLUSIONS_HEADERINCLUDES_H
|
||||
#ifndef LLVM_CLANG_TOOLING_CORE_HEADERINCLUDES_H
|
||||
#define LLVM_CLANG_TOOLING_CORE_HEADERINCLUDES_H
|
||||
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
#include "clang/Tooling/Core/Replacement.h"
|
||||
#include "clang/Tooling/Inclusions/IncludeStyle.h"
|
||||
#include "clang/Tooling/Core/IncludeStyle.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
#include "llvm/Support/Regex.h"
|
||||
#include <unordered_map>
|
||||
|
@ -134,4 +134,4 @@ private:
|
|||
} // namespace tooling
|
||||
} // namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_TOOLING_INCLUSIONS_HEADERINCLUDES_H
|
||||
#endif // LLVM_CLANG_TOOLING_CORE_HEADERINCLUDES_H
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_TOOLING_INCLUSIONS_INCLUDESTYLE_H
|
||||
#define LLVM_CLANG_TOOLING_INCLUSIONS_INCLUDESTYLE_H
|
||||
#ifndef LLVM_CLANG_TOOLING_CORE_INCLUDESTYLE_H
|
||||
#define LLVM_CLANG_TOOLING_CORE_INCLUDESTYLE_H
|
||||
|
||||
#include "llvm/Support/YAMLTraits.h"
|
||||
#include <string>
|
||||
|
@ -130,4 +130,4 @@ struct ScalarEnumerationTraits<
|
|||
} // namespace yaml
|
||||
} // namespace llvm
|
||||
|
||||
#endif // LLVM_CLANG_TOOLING_INCLUSIONS_INCLUDESTYLE_H
|
||||
#endif // LLVM_CLANG_TOOLING_CORE_INCLUDESTYLE_H
|
|
@ -153,8 +153,3 @@ module Clang_ToolingCore {
|
|||
requires cplusplus
|
||||
umbrella "Tooling/Core" module * { export * }
|
||||
}
|
||||
|
||||
module Clang_ToolingInclusions {
|
||||
requires cplusplus
|
||||
umbrella "Tooling/Inclusions" module * { export * }
|
||||
}
|
||||
|
|
|
@ -20,5 +20,4 @@ add_clang_library(clangFormat
|
|||
clangBasic
|
||||
clangLex
|
||||
clangToolingCore
|
||||
clangToolingInclusions
|
||||
)
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include "clang/Basic/SourceManager.h"
|
||||
#include "clang/Basic/VirtualFileSystem.h"
|
||||
#include "clang/Lex/Lexer.h"
|
||||
#include "clang/Tooling/Inclusions/HeaderIncludes.h"
|
||||
#include "clang/Tooling/Core/HeaderIncludes.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/Support/Allocator.h"
|
||||
|
|
|
@ -4,7 +4,6 @@ set(LLVM_LINK_COMPONENTS
|
|||
)
|
||||
|
||||
add_subdirectory(Core)
|
||||
add_subdirectory(Inclusions)
|
||||
add_subdirectory(Refactoring)
|
||||
add_subdirectory(ASTDiff)
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@ set(LLVM_LINK_COMPONENTS support)
|
|||
|
||||
add_clang_library(clangToolingCore
|
||||
Diagnostic.cpp
|
||||
HeaderIncludes.cpp
|
||||
IncludeStyle.cpp
|
||||
Lookup.cpp
|
||||
Replacement.cpp
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/Tooling/Inclusions/HeaderIncludes.h"
|
||||
#include "clang/Tooling/Core/HeaderIncludes.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
#include "clang/Lex/Lexer.h"
|
||||
|
|
@ -7,7 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/Tooling/Inclusions/IncludeStyle.h"
|
||||
#include "clang/Tooling/Core/IncludeStyle.h"
|
||||
|
||||
|
||||
using clang::tooling::IncludeStyle;
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
set(LLVM_LINK_COMPONENTS support)
|
||||
|
||||
add_clang_library(clangToolingInclusions
|
||||
HeaderIncludes.cpp
|
||||
IncludeStyle.cpp
|
||||
|
||||
LINK_LIBS
|
||||
clangBasic
|
||||
clangLex
|
||||
clangRewrite
|
||||
clangToolingCore
|
||||
)
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/Tooling/Inclusions/HeaderIncludes.h"
|
||||
#include "clang/Tooling/Core/HeaderIncludes.h"
|
||||
#include "../Tooling/ReplacementTest.h"
|
||||
#include "../Tooling/RewriterTestContext.h"
|
||||
#include "clang/Format/Format.h"
|
||||
|
|
Loading…
Reference in New Issue