]> granicus.if.org Git - clang/commitdiff
Move ASTConsumers.h to include/clang/Frontend, and move the associated
authorEli Friedman <eli.friedman@gmail.com>
Mon, 18 May 2009 22:50:54 +0000 (22:50 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Mon, 18 May 2009 22:50:54 +0000 (22:50 +0000)
.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

include/clang/Frontend/ASTConsumers.h [moved from tools/clang-cc/ASTConsumers.h with 100% similarity]
lib/Frontend/ASTConsumers.cpp [moved from tools/clang-cc/ASTConsumers.cpp with 99% similarity]
lib/Frontend/Backend.cpp [moved from tools/clang-cc/Backend.cpp with 99% similarity]
lib/Frontend/GeneratePCH.cpp [moved from tools/clang-cc/GeneratePCH.cpp with 98% similarity]
lib/Frontend/HTMLPrint.cpp [moved from tools/clang-cc/HTMLPrint.cpp with 98% similarity]
lib/Frontend/RewriteBlocks.cpp [moved from tools/clang-cc/RewriteBlocks.cpp with 99% similarity]
lib/Frontend/RewriteObjC.cpp [moved from tools/clang-cc/RewriteObjC.cpp with 99% similarity]

similarity index 99%
rename from tools/clang-cc/ASTConsumers.cpp
rename to lib/Frontend/ASTConsumers.cpp
index 48bf85b4dccab16a9fa5f241ef04cdb82fc10806..53034e96d92d8a7ef04e134831f6365c0119dc7a 100644 (file)
@@ -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"
similarity index 99%
rename from tools/clang-cc/Backend.cpp
rename to lib/Frontend/Backend.cpp
index 2988ae697a6f063a7f43107a3fddcf9ec81fa738..259713f25749cfcd532de9686b5ed066a0baa2a2 100644 (file)
@@ -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"
similarity index 98%
rename from tools/clang-cc/GeneratePCH.cpp
rename to lib/Frontend/GeneratePCH.cpp
index 62ab0ec010b9113614093d375b96b573cff7aeab..8be88ce38117cbf1b7543d27d555ea832010653e 100644 (file)
@@ -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"
similarity index 98%
rename from tools/clang-cc/HTMLPrint.cpp
rename to lib/Frontend/HTMLPrint.cpp
index 71121095aed47e41e748fc8a47f43e86c5a9a124..a4ce9e522dfb4edf1b00660a5fde1510e7002f8a 100644 (file)
@@ -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"
similarity index 99%
rename from tools/clang-cc/RewriteBlocks.cpp
rename to lib/Frontend/RewriteBlocks.cpp
index 135f4a70bfae3c18a596256becd5d7195a2b61b0..29f05788823e437342016e156c39b58e6c2212e6 100644 (file)
@@ -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"
similarity index 99%
rename from tools/clang-cc/RewriteObjC.cpp
rename to lib/Frontend/RewriteObjC.cpp
index 493f5654a51be36d3f6c66f7bb9e4129be3bb1c5..86f3037326511f3d31ab400557592d1ea7a5c6ef 100644 (file)
@@ -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"