Skip to content

Commit 3c6d1b5

Browse files
committed
Remove clang-cc tool, it has joined in unholy union with clang.
- tools/driver will be renamed to tools/clang at some point. llvm-svn: 91195
1 parent e1996c2 commit 3c6d1b5

File tree

8 files changed

+9
-420
lines changed

8 files changed

+9
-420
lines changed

clang/NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Creating and using a PTH file for performance measurement (use a release-asserts
1717
build).
1818

1919
$ clang -ccc-pch-is-pth -x objective-c-header INPUTS/Cocoa_h.m -o /tmp/tokencache
20-
$ clang-cc -token-cache /tmp/tokencache INPUTS/Cocoa_h.m
20+
$ clang -cc1 -token-cache /tmp/tokencache INPUTS/Cocoa_h.m
2121

2222
//===---------------------------------------------------------------------===//
2323

clang/clang.xcodeproj/project.pbxproj

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
1AE4EE3E103B89ED00888A23 /* StmtProfile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE4EE3D103B89ED00888A23 /* StmtProfile.cpp */; };
5555
1AE4EE40103B8A0A00888A23 /* TargetABIInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE4EE3F103B8A0A00888A23 /* TargetABIInfo.cpp */; };
5656
1AF1B50F109A4FB800AFAFAC /* CGException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AF1B50E109A4FB800AFAFAC /* CGException.cpp */; };
57-
1AFEF4070F8A6B2300476F2B /* clang-cc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFEF4050F8A6B2300476F2B /* clang-cc.cpp */; };
5857
1AFF8AE31012BFC900D248DA /* CGRecordLayoutBuilder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFF8AE11012BFC900D248DA /* CGRecordLayoutBuilder.cpp */; };
5958
3507E4C20E27FE2D00FB7B57 /* CheckObjCInstMethSignature.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3507E4C10E27FE2D00FB7B57 /* CheckObjCInstMethSignature.cpp */; };
6059
352246E70F5C6BE000D0D279 /* HTMLDiagnostics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 352246E10F5C6BE000D0D279 /* HTMLDiagnostics.cpp */; };
@@ -280,6 +279,7 @@
280279
DEF7D9F70C9C8B1A0001F598 /* Rewriter.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DEF7D9F60C9C8B1A0001F598 /* Rewriter.h */; };
281280
DEF7D9F90C9C8B1D0001F598 /* Rewriter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEF7D9F80C9C8B1D0001F598 /* Rewriter.cpp */; };
282281
DEFFECA70DB1546600B4E7C3 /* DeltaTree.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEFFECA60DB1546600B4E7C3 /* DeltaTree.cpp */; };
282+
E16B523510D30B2400430AC9 /* cc1_main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E16B523410D30B2400430AC9 /* cc1_main.cpp */; };
283283
/* End PBXBuildFile section */
284284

285285
/* Begin PBXCopyFilesBuildPhase section */
@@ -410,7 +410,6 @@
410410
1AE4EE3D103B89ED00888A23 /* StmtProfile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = StmtProfile.cpp; path = lib/AST/StmtProfile.cpp; sourceTree = "<group>"; tabWidth = 2; };
411411
1AE4EE3F103B8A0A00888A23 /* TargetABIInfo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = TargetABIInfo.cpp; path = lib/CodeGen/TargetABIInfo.cpp; sourceTree = "<group>"; tabWidth = 2; };
412412
1AF1B50E109A4FB800AFAFAC /* CGException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = CGException.cpp; path = lib/CodeGen/CGException.cpp; sourceTree = "<group>"; tabWidth = 2; };
413-
1AFEF4050F8A6B2300476F2B /* clang-cc.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = "clang-cc.cpp"; path = "tools/clang-cc/clang-cc.cpp"; sourceTree = "<group>"; tabWidth = 2; };
414413
1AFF8AE11012BFC900D248DA /* CGRecordLayoutBuilder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = CGRecordLayoutBuilder.cpp; path = lib/CodeGen/CGRecordLayoutBuilder.cpp; sourceTree = "<group>"; tabWidth = 2; };
415414
1AFF8AE21012BFC900D248DA /* CGRecordLayoutBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.h; name = CGRecordLayoutBuilder.h; path = lib/CodeGen/CGRecordLayoutBuilder.h; sourceTree = "<group>"; tabWidth = 2; };
416415
3507E4C10E27FE2D00FB7B57 /* CheckObjCInstMethSignature.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CheckObjCInstMethSignature.cpp; path = lib/Analysis/CheckObjCInstMethSignature.cpp; sourceTree = "<group>"; };
@@ -809,6 +808,7 @@
809808
DEF7D9F80C9C8B1D0001F598 /* Rewriter.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Rewriter.cpp; path = lib/Rewrite/Rewriter.cpp; sourceTree = "<group>"; };
810809
DEFFECA30DB093D100B4E7C3 /* DeltaTree.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DeltaTree.h; path = clang/Rewrite/DeltaTree.h; sourceTree = "<group>"; };
811810
DEFFECA60DB1546600B4E7C3 /* DeltaTree.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DeltaTree.cpp; path = lib/Rewrite/DeltaTree.cpp; sourceTree = "<group>"; };
811+
E16B523410D30B2400430AC9 /* cc1_main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = cc1_main.cpp; path = tools/driver/cc1_main.cpp; sourceTree = "<group>"; };
812812
/* End PBXFileReference section */
813813

814814
/* Begin PBXFrameworksBuildPhase section */
@@ -1542,23 +1542,15 @@
15421542
90F9EFA8104ABDC400D09A15 /* c-index-test */,
15431543
9012911E104812DA0083456D /* CIndex */,
15441544
90FD6DB4103D9763005F5B73 /* index-test */,
1545-
DEDFE6200F7B3AE90035BD10 /* clang-cc */,
15461545
DEDFE6210F7B3AF10035BD10 /* clang */,
15471546
);
15481547
name = Tools;
15491548
sourceTree = "<group>";
15501549
};
1551-
DEDFE6200F7B3AE90035BD10 /* clang-cc */ = {
1552-
isa = PBXGroup;
1553-
children = (
1554-
1AFEF4050F8A6B2300476F2B /* clang-cc.cpp */,
1555-
);
1556-
name = "clang-cc";
1557-
sourceTree = "<group>";
1558-
};
15591550
DEDFE6210F7B3AF10035BD10 /* clang */ = {
15601551
isa = PBXGroup;
15611552
children = (
1553+
E16B523410D30B2400430AC9 /* cc1_main.cpp */,
15621554
DEDFE6450F7B3B4E0035BD10 /* driver.cpp */,
15631555
);
15641556
name = clang;
@@ -1875,7 +1867,6 @@
18751867
1A701B640F7C8FE400FEC4D1 /* SemaAccess.cpp in Sources */,
18761868
906BF4B00F83BA2E001071FA /* ConvertUTF.c in Sources */,
18771869
DEDFF8880F848CF80035BD10 /* TemplateName.cpp in Sources */,
1878-
1AFEF4070F8A6B2300476F2B /* clang-cc.cpp in Sources */,
18791870
DEF165710F8FB34D0098507F /* PCHWriter.cpp in Sources */,
18801871
DEF165750F8FB3510098507F /* PCHReader.cpp in Sources */,
18811872
DEF168400F9548DC0098507F /* FixItRewriter.cpp in Sources */,
@@ -1937,6 +1928,7 @@
19371928
1ADD795510A90C6100741BBA /* TypeLoc.cpp in Sources */,
19381929
1ADD795610A90C6100741BBA /* TemplateBase.cpp in Sources */,
19391930
1A986AB710D0746D00A8EA9E /* CGDeclCXX.cpp in Sources */,
1931+
E16B523510D30B2400430AC9 /* cc1_main.cpp in Sources */,
19401932
);
19411933
runOnlyForDeploymentPostprocessing = 0;
19421934
};

clang/test/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if(PYTHONINTERP_FOUND)
5353
--param build_config=${CMAKE_CFG_INTDIR}
5454
-sv ${CLANG_TEST_EXTRA_ARGS}
5555
${CMAKE_CURRENT_BINARY_DIR}/${testdir}
56-
DEPENDS clang clang-cc index-test c-index-test
56+
DEPENDS clang index-test c-index-test
5757
COMMENT "Running Clang regression tests in ${testdir}")
5858
endforeach()
5959

@@ -64,7 +64,7 @@ if(PYTHONINTERP_FOUND)
6464
--param build_config=${CMAKE_CFG_INTDIR}
6565
-sv ${CLANG_TEST_EXTRA_ARGS}
6666
${CMAKE_CURRENT_BINARY_DIR}
67-
DEPENDS clang clang-cc index-test c-index-test
67+
DEPENDS clang index-test c-index-test
6868
COMMENT "Running Clang regression tests")
6969

7070
add_custom_target(clang-c++tests
@@ -74,6 +74,6 @@ if(PYTHONINTERP_FOUND)
7474
--param build_config=${CMAKE_CFG_INTDIR}
7575
-sv ${CLANG_TEST_EXTRA_ARGS}
7676
${CMAKE_CURRENT_SOURCE_DIR}/../utils/C++Tests
77-
DEPENDS clang clang-cc index-test c-index-test
77+
DEPENDS clang index-test c-index-test
7878
COMMENT "Running Clang regression tests")
7979
endif()

clang/tools/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
add_subdirectory(CIndex)
22
add_subdirectory(c-index-test)
3-
add_subdirectory(clang-cc)
43
add_subdirectory(driver)
54
add_subdirectory(index-test)

clang/tools/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
##===----------------------------------------------------------------------===##
99

1010
LEVEL := ../../..
11-
DIRS := clang-cc driver index-test CIndex c-index-test
11+
DIRS := driver index-test CIndex c-index-test
1212

1313
include $(LEVEL)/Makefile.common

clang/tools/clang-cc/CMakeLists.txt

Lines changed: 0 additions & 31 deletions
This file was deleted.

clang/tools/clang-cc/Makefile

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)