[PATCH] D65878: [Refactor] Moving SourceExtraction header from lib to include
Shaurya Gupta via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 7 08:09:19 PDT 2019
SureYeaah created this revision.
SureYeaah added a reviewer: arphaman.
Herald added subscribers: cfe-commits, kadircet, dexonsmith, ilya-biryukov.
Herald added a project: clang.
- Moved the SourceExtraction header from lib to include so that it can
be used in clangd.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D65878
Files:
clang/include/clang/Tooling/Refactoring/Extract/SourceExtraction.h
clang/lib/Tooling/Refactoring/Extract/Extract.cpp
clang/lib/Tooling/Refactoring/Extract/SourceExtraction.cpp
clang/lib/Tooling/Refactoring/Extract/SourceExtraction.h
Index: clang/lib/Tooling/Refactoring/Extract/SourceExtraction.cpp
===================================================================
--- clang/lib/Tooling/Refactoring/Extract/SourceExtraction.cpp
+++ clang/lib/Tooling/Refactoring/Extract/SourceExtraction.cpp
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "SourceExtraction.h"
+#include "clang/Tooling/Refactoring/Extract/SourceExtraction.h"
#include "clang/AST/Stmt.h"
#include "clang/AST/StmtCXX.h"
#include "clang/AST/StmtObjC.h"
Index: clang/lib/Tooling/Refactoring/Extract/Extract.cpp
===================================================================
--- clang/lib/Tooling/Refactoring/Extract/Extract.cpp
+++ clang/lib/Tooling/Refactoring/Extract/Extract.cpp
@@ -13,12 +13,12 @@
//===----------------------------------------------------------------------===//
#include "clang/Tooling/Refactoring/Extract/Extract.h"
-#include "SourceExtraction.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprObjC.h"
#include "clang/Rewrite/Core/Rewriter.h"
+#include "clang/Tooling/Refactoring/Extract/SourceExtraction.h"
namespace clang {
namespace tooling {
Index: clang/include/clang/Tooling/Refactoring/Extract/SourceExtraction.h
===================================================================
--- clang/include/clang/Tooling/Refactoring/Extract/SourceExtraction.h
+++ clang/include/clang/Tooling/Refactoring/Extract/SourceExtraction.h
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_CLANG_LIB_TOOLING_REFACTORING_EXTRACT_SOURCE_EXTRACTION_H
-#define LLVM_CLANG_LIB_TOOLING_REFACTORING_EXTRACT_SOURCE_EXTRACTION_H
+#ifndef LLVM_CLANG_TOOLING_REFACTORING_EXTRACT_SOURCE_EXTRACTION_H
+#define LLVM_CLANG_TOOLING_REFACTORING_EXTRACT_SOURCE_EXTRACTION_H
#include "clang/Basic/LLVM.h"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65878.213887.patch
Type: text/x-patch
Size: 1959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190807/89423f7b/attachment.bin>
More information about the cfe-commits
mailing list