diff options
author | Chris Lattner <sabre@nondot.org> | 2008-03-15 23:59:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-03-15 23:59:48 +0000 |
commit | bda0b626e74513950405c27525af87e214e605e2 (patch) | |
tree | 60149b18fd68ccc1281c62fe4387b5a1da39a5fa | |
parent | fbdeba1c530dc3534a6f5b788e43d1a43c260128 (diff) |
Make a major restructuring of the clang tree: introduce a top-level
lib dir and move all the libraries into it. This follows the main
llvm tree, and allows the libraries to be built in parallel. The
top level now enforces that all the libs are built before Driver,
but we don't care what order the libs are built in. This speeds
up parallel builds, particularly incremental ones.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48402 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | clang.xcodeproj/project.pbxproj | 160 | ||||
-rw-r--r-- | lib/AST/ASTConsumer.cpp (renamed from AST/ASTConsumer.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/ASTContext.cpp (renamed from AST/ASTContext.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/Builtins.cpp (renamed from AST/Builtins.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/CFG.cpp (renamed from AST/CFG.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/Decl.cpp (renamed from AST/Decl.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/DeclSerialization.cpp (renamed from AST/DeclSerialization.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/Expr.cpp (renamed from AST/Expr.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/ExprCXX.cpp (renamed from AST/ExprCXX.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/Makefile (renamed from AST/Makefile) | 6 | ||||
-rw-r--r-- | lib/AST/Stmt.cpp (renamed from AST/Stmt.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/StmtDumper.cpp (renamed from AST/StmtDumper.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/StmtIterator.cpp (renamed from AST/StmtIterator.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/StmtPrinter.cpp (renamed from AST/StmtPrinter.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/StmtSerialization.cpp (renamed from AST/StmtSerialization.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/StmtViz.cpp (renamed from AST/StmtViz.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/TranslationUnit.cpp (renamed from AST/TranslationUnit.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/Type.cpp (renamed from AST/Type.cpp) | 0 | ||||
-rw-r--r-- | lib/AST/TypeSerialization.cpp (renamed from AST/TypeSerialization.cpp) | 0 | ||||
-rw-r--r-- | lib/Analysis/BasicValueFactory.cpp (renamed from Analysis/BasicValueFactory.cpp) | 0 | ||||
-rw-r--r-- | lib/Analysis/CFRefCount.cpp (renamed from Analysis/CFRefCount.cpp) | 2 | ||||
-rw-r--r-- | lib/Analysis/DeadStores.cpp (renamed from Analysis/DeadStores.cpp) | 0 | ||||
-rw-r--r-- | lib/Analysis/ExplodedGraph.cpp (renamed from Analysis/ExplodedGraph.cpp) | 0 | ||||
-rw-r--r-- | lib/Analysis/GRBlockCounter.cpp (renamed from Analysis/GRBlockCounter.cpp) | 0 | ||||
-rw-r--r-- | lib/Analysis/GRCoreEngine.cpp (renamed from Analysis/GRCoreEngine.cpp) | 0 | ||||
-rw-r--r-- | lib/Analysis/GRExprEngine.cpp (renamed from Analysis/GRExprEngine.cpp) | 0 | ||||
-rw-r--r-- | lib/Analysis/GRSimpleVals.cpp (renamed from Analysis/GRSimpleVals.cpp) | 0 | ||||
-rw-r--r-- | lib/Analysis/GRSimpleVals.h (renamed from Analysis/GRSimpleVals.h) | 0 | ||||
-rw-r--r-- | lib/Analysis/LiveVariables.cpp (renamed from Analysis/LiveVariables.cpp) | 0 | ||||
-rw-r--r-- | lib/Analysis/Makefile (renamed from Analysis/Makefile) | 6 | ||||
-rw-r--r-- | lib/Analysis/ProgramPoint.cpp (renamed from Analysis/ProgramPoint.cpp) | 0 | ||||
-rw-r--r-- | lib/Analysis/RValues.cpp (renamed from Analysis/RValues.cpp) | 0 | ||||
-rw-r--r-- | lib/Analysis/SymbolManager.cpp (renamed from Analysis/SymbolManager.cpp) | 0 | ||||
-rw-r--r-- | lib/Analysis/UninitializedValues.cpp (renamed from Analysis/UninitializedValues.cpp) | 0 | ||||
-rw-r--r-- | lib/Analysis/ValueState.cpp (renamed from Analysis/ValueState.cpp) | 0 | ||||
-rw-r--r-- | lib/Basic/Diagnostic.cpp (renamed from Basic/Diagnostic.cpp) | 0 | ||||
-rw-r--r-- | lib/Basic/FileManager.cpp (renamed from Basic/FileManager.cpp) | 0 | ||||
-rw-r--r-- | lib/Basic/IdentifierTable.cpp (renamed from Basic/IdentifierTable.cpp) | 0 | ||||
-rw-r--r-- | lib/Basic/LangOptions.cpp (renamed from Basic/LangOptions.cpp) | 0 | ||||
-rw-r--r-- | lib/Basic/Makefile (renamed from Basic/Makefile) | 6 | ||||
-rw-r--r-- | lib/Basic/SourceLocation.cpp (renamed from Basic/SourceLocation.cpp) | 0 | ||||
-rw-r--r-- | lib/Basic/SourceManager.cpp (renamed from Basic/SourceManager.cpp) | 0 | ||||
-rw-r--r-- | lib/Basic/TargetInfo.cpp (renamed from Basic/TargetInfo.cpp) | 0 | ||||
-rw-r--r-- | lib/Basic/Targets.cpp (renamed from Basic/Targets.cpp) | 0 | ||||
-rw-r--r-- | lib/Basic/TokenKinds.cpp (renamed from Basic/TokenKinds.cpp) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CGBuiltin.cpp (renamed from CodeGen/CGBuiltin.cpp) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CGDecl.cpp (renamed from CodeGen/CGDecl.cpp) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CGExpr.cpp (renamed from CodeGen/CGExpr.cpp) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CGExprAgg.cpp (renamed from CodeGen/CGExprAgg.cpp) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CGExprComplex.cpp (renamed from CodeGen/CGExprComplex.cpp) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CGExprConstant.cpp (renamed from CodeGen/CGExprConstant.cpp) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CGExprScalar.cpp (renamed from CodeGen/CGExprScalar.cpp) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CGObjC.cpp (renamed from CodeGen/CGObjC.cpp) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CGObjCGNU.cpp (renamed from CodeGen/CGObjCGNU.cpp) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CGObjCRuntime.h (renamed from CodeGen/CGObjCRuntime.h) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CGStmt.cpp (renamed from CodeGen/CGStmt.cpp) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CodeGenFunction.cpp (renamed from CodeGen/CodeGenFunction.cpp) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h (renamed from CodeGen/CodeGenFunction.h) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp (renamed from CodeGen/CodeGenModule.cpp) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CodeGenModule.h (renamed from CodeGen/CodeGenModule.h) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CodeGenTypes.cpp (renamed from CodeGen/CodeGenTypes.cpp) | 0 | ||||
-rw-r--r-- | lib/CodeGen/CodeGenTypes.h (renamed from CodeGen/CodeGenTypes.h) | 0 | ||||
-rw-r--r-- | lib/CodeGen/Makefile (renamed from CodeGen/Makefile) | 6 | ||||
-rw-r--r-- | lib/CodeGen/ModuleBuilder.cpp (renamed from CodeGen/ModuleBuilder.cpp) | 0 | ||||
-rw-r--r-- | lib/Headers/Makefile (renamed from Headers/Makefile) | 4 | ||||
-rw-r--r-- | lib/Headers/mmintrin.devel.h (renamed from Headers/mmintrin.devel.h) | 0 | ||||
-rw-r--r-- | lib/Headers/stdbool.h (renamed from Headers/stdbool.h) | 0 | ||||
-rw-r--r-- | lib/Lex/HeaderMap.cpp (renamed from Lex/HeaderMap.cpp) | 0 | ||||
-rw-r--r-- | lib/Lex/HeaderSearch.cpp (renamed from Lex/HeaderSearch.cpp) | 0 | ||||
-rw-r--r-- | lib/Lex/Lexer.cpp (renamed from Lex/Lexer.cpp) | 0 | ||||
-rw-r--r-- | lib/Lex/LiteralSupport.cpp (renamed from Lex/LiteralSupport.cpp) | 0 | ||||
-rw-r--r-- | lib/Lex/MacroArgs.cpp (renamed from Lex/MacroArgs.cpp) | 0 | ||||
-rw-r--r-- | lib/Lex/MacroArgs.h (renamed from Lex/MacroArgs.h) | 0 | ||||
-rw-r--r-- | lib/Lex/MacroInfo.cpp (renamed from Lex/MacroInfo.cpp) | 0 | ||||
-rw-r--r-- | lib/Lex/Makefile (renamed from Lex/Makefile) | 6 | ||||
-rw-r--r-- | lib/Lex/PPDirectives.cpp (renamed from Lex/PPDirectives.cpp) | 0 | ||||
-rw-r--r-- | lib/Lex/PPExpressions.cpp (renamed from Lex/PPExpressions.cpp) | 0 | ||||
-rw-r--r-- | lib/Lex/PPLexerChange.cpp (renamed from Lex/PPLexerChange.cpp) | 0 | ||||
-rw-r--r-- | lib/Lex/PPMacroExpansion.cpp (renamed from Lex/PPMacroExpansion.cpp) | 0 | ||||
-rw-r--r-- | lib/Lex/Pragma.cpp (renamed from Lex/Pragma.cpp) | 0 | ||||
-rw-r--r-- | lib/Lex/Preprocessor.cpp (renamed from Lex/Preprocessor.cpp) | 0 | ||||
-rw-r--r-- | lib/Lex/ScratchBuffer.cpp (renamed from Lex/ScratchBuffer.cpp) | 0 | ||||
-rw-r--r-- | lib/Lex/TokenLexer.cpp (renamed from Lex/TokenLexer.cpp) | 0 | ||||
-rwxr-xr-x | lib/Makefile | 14 | ||||
-rw-r--r-- | lib/Parse/AttributeList.cpp (renamed from Parse/AttributeList.cpp) | 0 | ||||
-rw-r--r-- | lib/Parse/DeclSpec.cpp (renamed from Parse/DeclSpec.cpp) | 0 | ||||
-rw-r--r-- | lib/Parse/Makefile (renamed from Parse/Makefile) | 6 | ||||
-rw-r--r-- | lib/Parse/MinimalAction.cpp (renamed from Parse/MinimalAction.cpp) | 0 | ||||
-rw-r--r-- | lib/Parse/ParseDecl.cpp (renamed from Parse/ParseDecl.cpp) | 0 | ||||
-rw-r--r-- | lib/Parse/ParseDeclCXX.cpp (renamed from Parse/ParseDeclCXX.cpp) | 0 | ||||
-rw-r--r-- | lib/Parse/ParseExpr.cpp (renamed from Parse/ParseExpr.cpp) | 0 | ||||
-rw-r--r-- | lib/Parse/ParseExprCXX.cpp (renamed from Parse/ParseExprCXX.cpp) | 0 | ||||
-rw-r--r-- | lib/Parse/ParseInit.cpp (renamed from Parse/ParseInit.cpp) | 0 | ||||
-rw-r--r-- | lib/Parse/ParseObjc.cpp (renamed from Parse/ParseObjc.cpp) | 0 | ||||
-rw-r--r-- | lib/Parse/ParseStmt.cpp (renamed from Parse/ParseStmt.cpp) | 0 | ||||
-rw-r--r-- | lib/Parse/Parser.cpp (renamed from Parse/Parser.cpp) | 0 | ||||
-rw-r--r-- | lib/Rewrite/Makefile (renamed from Rewrite/Makefile) | 6 | ||||
-rw-r--r-- | lib/Rewrite/Rewriter.cpp (renamed from Rewrite/Rewriter.cpp) | 0 | ||||
-rw-r--r-- | lib/Sema/Makefile (renamed from Sema/Makefile) | 6 | ||||
-rw-r--r-- | lib/Sema/ParseAST.cpp (renamed from Sema/ParseAST.cpp) | 0 | ||||
-rw-r--r-- | lib/Sema/Sema.cpp (renamed from Sema/Sema.cpp) | 0 | ||||
-rw-r--r-- | lib/Sema/Sema.h (renamed from Sema/Sema.h) | 0 | ||||
-rw-r--r-- | lib/Sema/SemaChecking.cpp (renamed from Sema/SemaChecking.cpp) | 0 | ||||
-rw-r--r-- | lib/Sema/SemaDecl.cpp (renamed from Sema/SemaDecl.cpp) | 0 | ||||
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp (renamed from Sema/SemaDeclObjC.cpp) | 0 | ||||
-rw-r--r-- | lib/Sema/SemaExpr.cpp (renamed from Sema/SemaExpr.cpp) | 0 | ||||
-rw-r--r-- | lib/Sema/SemaExprCXX.cpp (renamed from Sema/SemaExprCXX.cpp) | 0 | ||||
-rw-r--r-- | lib/Sema/SemaExprObjC.cpp (renamed from Sema/SemaExprObjC.cpp) | 0 | ||||
-rw-r--r-- | lib/Sema/SemaStmt.cpp (renamed from Sema/SemaStmt.cpp) | 0 | ||||
-rw-r--r-- | lib/Sema/SemaType.cpp (renamed from Sema/SemaType.cpp) | 0 | ||||
-rw-r--r-- | lib/Sema/SemaUtil.h (renamed from Sema/SemaUtil.h) | 0 |
112 files changed, 122 insertions, 108 deletions
@@ -1,5 +1,5 @@ LEVEL = ../.. -DIRS := Headers Basic Lex Parse AST Sema CodeGen Analysis Rewrite Driver +DIRS := lib Driver include $(LEVEL)/Makefile.common diff --git a/clang.xcodeproj/project.pbxproj b/clang.xcodeproj/project.pbxproj index d0b9f6b817..63d76a716a 100644 --- a/clang.xcodeproj/project.pbxproj +++ b/clang.xcodeproj/project.pbxproj @@ -236,17 +236,17 @@ /* Begin PBXFileReference section */ 03F50AC50D416EAA00B9CF60 /* Targets.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Targets.cpp; sourceTree = "<group>"; }; 1A30A9E80B93A4C800201A91 /* ExprCXX.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = ExprCXX.h; path = clang/AST/ExprCXX.h; sourceTree = "<group>"; }; - 1A376A2C0D4AED9B002A1C52 /* CGExprConstant.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CGExprConstant.cpp; path = CodeGen/CGExprConstant.cpp; sourceTree = "<group>"; }; + 1A376A2C0D4AED9B002A1C52 /* CGExprConstant.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CGExprConstant.cpp; path = lib/CodeGen/CGExprConstant.cpp; sourceTree = "<group>"; }; 1A68BC110D0CADDD001A28C8 /* PPCBuiltins.def */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = PPCBuiltins.def; path = clang/AST/PPCBuiltins.def; sourceTree = "<group>"; }; 1A68BC120D0CADDD001A28C8 /* TargetBuiltins.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TargetBuiltins.h; path = clang/AST/TargetBuiltins.h; sourceTree = "<group>"; }; 1A68BC130D0CADDD001A28C8 /* X86Builtins.def */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = X86Builtins.def; path = clang/AST/X86Builtins.def; sourceTree = "<group>"; }; 1A72BEAC0D641E9400B085E9 /* Attr.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.h; name = Attr.h; path = clang/AST/Attr.h; sourceTree = "<group>"; tabWidth = 2; }; - 1A7342470C7B57D500122F56 /* CGObjC.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CGObjC.cpp; path = CodeGen/CGObjC.cpp; sourceTree = "<group>"; }; + 1A7342470C7B57D500122F56 /* CGObjC.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CGObjC.cpp; path = lib/CodeGen/CGObjC.cpp; sourceTree = "<group>"; }; 1A869A6E0BA2164C008DA07A /* LiteralSupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LiteralSupport.h; sourceTree = "<group>"; }; 1A869AA70BA21ABA008DA07A /* LiteralSupport.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = LiteralSupport.cpp; sourceTree = "<group>"; }; - 1ABC36930C7A4BDC006DB0AB /* CGBuiltin.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CGBuiltin.cpp; path = CodeGen/CGBuiltin.cpp; sourceTree = "<group>"; }; - 3513185F0CD14468006B66F7 /* DeclSerialization.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DeclSerialization.cpp; path = AST/DeclSerialization.cpp; sourceTree = "<group>"; }; - 35260CA40C7F75C000D66CE9 /* ExprCXX.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ExprCXX.cpp; path = AST/ExprCXX.cpp; sourceTree = "<group>"; }; + 1ABC36930C7A4BDC006DB0AB /* CGBuiltin.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CGBuiltin.cpp; path = lib/CodeGen/CGBuiltin.cpp; sourceTree = "<group>"; }; + 3513185F0CD14468006B66F7 /* DeclSerialization.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DeclSerialization.cpp; path = lib/AST/DeclSerialization.cpp; sourceTree = "<group>"; }; + 35260CA40C7F75C000D66CE9 /* ExprCXX.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ExprCXX.cpp; path = lib/AST/ExprCXX.cpp; sourceTree = "<group>"; }; 352981080CC58344008B5E84 /* SerializationTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SerializationTest.cpp; path = Driver/SerializationTest.cpp; sourceTree = "<group>"; }; 352C19DC0CA321C80045DB98 /* CFGRecStmtDeclVisitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CFGRecStmtDeclVisitor.h; path = clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h; sourceTree = "<group>"; }; 352C19DD0CA321C80045DB98 /* CFGRecStmtVisitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CFGRecStmtVisitor.h; path = clang/Analysis/Visitors/CFGRecStmtVisitor.h; sourceTree = "<group>"; }; @@ -254,65 +254,64 @@ |