From: Eli Friedman Date: Mon, 18 May 2009 22:50:54 +0000 (+0000) Subject: Move ASTConsumers.h to include/clang/Frontend, and move the associated X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39d7c4d2d980651c4263b67cf0ab61dec34cd76b;p=clang Move ASTConsumers.h to include/clang/Frontend, and move the associated .cpp files to lib/Frontend. (As proposed on cfe-dev.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72060 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/clang-cc/ASTConsumers.h b/include/clang/Frontend/ASTConsumers.h similarity index 100% rename from tools/clang-cc/ASTConsumers.h rename to include/clang/Frontend/ASTConsumers.h diff --git a/tools/clang-cc/ASTConsumers.cpp b/lib/Frontend/ASTConsumers.cpp similarity index 99% rename from tools/clang-cc/ASTConsumers.cpp rename to lib/Frontend/ASTConsumers.cpp index 48bf85b4dc..53034e96d9 100644 --- a/tools/clang-cc/ASTConsumers.cpp +++ b/lib/Frontend/ASTConsumers.cpp @@ -11,7 +11,7 @@ // //===----------------------------------------------------------------------===// -#include "ASTConsumers.h" +#include "clang/Frontend/ASTConsumers.h" #include "clang/Frontend/PathDiagnosticClients.h" #include "clang/Basic/Diagnostic.h" #include "clang/Basic/SourceManager.h" diff --git a/tools/clang-cc/Backend.cpp b/lib/Frontend/Backend.cpp similarity index 99% rename from tools/clang-cc/Backend.cpp rename to lib/Frontend/Backend.cpp index 2988ae697a..259713f257 100644 --- a/tools/clang-cc/Backend.cpp +++ b/lib/Frontend/Backend.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -#include "ASTConsumers.h" +#include "clang/Frontend/ASTConsumers.h" #include "clang/CodeGen/ModuleBuilder.h" #include "clang/Frontend/CompileOptions.h" #include "clang/AST/ASTContext.h" diff --git a/tools/clang-cc/GeneratePCH.cpp b/lib/Frontend/GeneratePCH.cpp similarity index 98% rename from tools/clang-cc/GeneratePCH.cpp rename to lib/Frontend/GeneratePCH.cpp index 62ab0ec010..8be88ce381 100644 --- a/tools/clang-cc/GeneratePCH.cpp +++ b/lib/Frontend/GeneratePCH.cpp @@ -12,7 +12,7 @@ // //===----------------------------------------------------------------------===// -#include "ASTConsumers.h" +#include "clang/Frontend/ASTConsumers.h" #include "clang/Frontend/PCHWriter.h" #include "clang/Sema/SemaConsumer.h" #include "clang/AST/ASTContext.h" diff --git a/tools/clang-cc/HTMLPrint.cpp b/lib/Frontend/HTMLPrint.cpp similarity index 98% rename from tools/clang-cc/HTMLPrint.cpp rename to lib/Frontend/HTMLPrint.cpp index 71121095ae..a4ce9e522d 100644 --- a/tools/clang-cc/HTMLPrint.cpp +++ b/lib/Frontend/HTMLPrint.cpp @@ -11,7 +11,7 @@ // //===----------------------------------------------------------------------===// -#include "ASTConsumers.h" +#include "clang/Frontend/ASTConsumers.h" #include "clang/AST/ASTConsumer.h" #include "clang/AST/Decl.h" #include "clang/Rewrite/Rewriter.h" diff --git a/tools/clang-cc/RewriteBlocks.cpp b/lib/Frontend/RewriteBlocks.cpp similarity index 99% rename from tools/clang-cc/RewriteBlocks.cpp rename to lib/Frontend/RewriteBlocks.cpp index 135f4a70bf..29f0578882 100644 --- a/tools/clang-cc/RewriteBlocks.cpp +++ b/lib/Frontend/RewriteBlocks.cpp @@ -11,7 +11,7 @@ // //===----------------------------------------------------------------------===// -#include "ASTConsumers.h" +#include "clang/Frontend/ASTConsumers.h" #include "clang/Rewrite/Rewriter.h" #include "clang/AST/AST.h" #include "clang/AST/ASTConsumer.h" diff --git a/tools/clang-cc/RewriteObjC.cpp b/lib/Frontend/RewriteObjC.cpp similarity index 99% rename from tools/clang-cc/RewriteObjC.cpp rename to lib/Frontend/RewriteObjC.cpp index 493f5654a5..86f3037326 100644 --- a/tools/clang-cc/RewriteObjC.cpp +++ b/lib/Frontend/RewriteObjC.cpp @@ -11,7 +11,7 @@ // //===----------------------------------------------------------------------===// -#include "ASTConsumers.h" +#include "clang/Frontend/ASTConsumers.h" #include "clang/Rewrite/Rewriter.h" #include "clang/AST/AST.h" #include "clang/AST/ASTConsumer.h"