Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 3bd2138

Browse files
committed
Remove BoostCon-specific code from Clang. FWIW, I'm a fan of things like this living in a separate branch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134649 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 7a75960 commit 3bd2138

File tree

8 files changed

+0
-55
lines changed

8 files changed

+0
-55
lines changed

clang.xcodeproj/project.pbxproj

-2
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,6 @@
567567
BF9FEE321225E898003A8B71 /* ItaniumCXXABI.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ItaniumCXXABI.cpp; path = lib/CodeGen/ItaniumCXXABI.cpp; sourceTree = "<group>"; };
568568
BF9FEE341225E8B1003A8B71 /* MicrosoftCXXABI.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = MicrosoftCXXABI.cpp; path = lib/CodeGen/MicrosoftCXXABI.cpp; sourceTree = "<group>"; };
569569
BF9FEE361225E8CF003A8B71 /* README.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = README.txt; path = lib/CodeGen/README.txt; sourceTree = "<group>"; };
570-
BF9FEE371225E925003A8B71 /* BoostConAction.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = BoostConAction.cpp; path = lib/Frontend/BoostConAction.cpp; sourceTree = "<group>"; };
571570
BF9FEE451225EA24003A8B71 /* DelayedDiagnostic.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DelayedDiagnostic.h; path = clang/Sema/DelayedDiagnostic.h; sourceTree = "<group>"; };
572571
BF9FEE511226FE9F003A8B71 /* ParseAST.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ParseAST.cpp; path = lib/Parse/ParseAST.cpp; sourceTree = "<group>"; };
573572
BF9FEE531226FEC1003A8B71 /* RAIIObjectsForParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RAIIObjectsForParser.h; path = lib/Parse/RAIIObjectsForParser.h; sourceTree = "<group>"; };
@@ -906,7 +905,6 @@
906905
352246E00F5C6BC000D0D279 /* Frontend */ = {
907906
isa = PBXGroup;
908907
children = (
909-
BF9FEE371225E925003A8B71 /* BoostConAction.cpp */,
910908
1AFDD8701161085D00AE030A /* ASTMerge.cpp */,
911909
9012911C1048068D0083456D /* ASTUnit.cpp */,
912910
1A2A54A50FD1DD1C00F4CE45 /* ASTConsumers.cpp */,

include/clang/Driver/CC1Options.td

-2
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,6 @@ def ast_dump_xml : Flag<"-ast-dump-xml">,
356356
HelpText<"Build ASTs and then debug dump them in a verbose XML format">;
357357
def ast_view : Flag<"-ast-view">,
358358
HelpText<"Build ASTs and view them with GraphViz">;
359-
def boostcon : Flag<"-boostcon">,
360-
HelpText<"BoostCon workshop mode">;
361359
def print_decl_contexts : Flag<"-print-decl-contexts">,
362360
HelpText<"Print DeclContexts and their Decls">;
363361
def emit_pth : Flag<"-emit-pth">,

include/clang/Frontend/FrontendActions.h

-6
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,6 @@ class SyntaxOnlyAction : public ASTFrontendAction {
9797
virtual bool hasCodeCompletionSupport() const { return true; }
9898
};
9999

100-
class BoostConAction : public SyntaxOnlyAction {
101-
protected:
102-
virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
103-
llvm::StringRef InFile);
104-
};
105-
106100
/**
107101
* \brief Frontend action adaptor that merges ASTs together.
108102
*

include/clang/Frontend/FrontendOptions.h

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ namespace frontend {
2424
ASTDumpXML, ///< Parse ASTs and dump them in XML.
2525
ASTPrint, ///< Parse ASTs and print them.
2626
ASTView, ///< Parse ASTs and view them in Graphviz.
27-
BoostCon, ///< BoostCon mode.
2827
CreateModule, ///< Create module definition
2928
DumpRawTokens, ///< Dump out raw tokens.
3029
DumpTokens, ///< Dump out preprocessed tokens.

lib/Frontend/BoostConAction.cpp

-39
This file was deleted.

lib/Frontend/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ add_clang_library(clangFrontend
1212
ASTConsumers.cpp
1313
ASTMerge.cpp
1414
ASTUnit.cpp
15-
BoostConAction.cpp
1615
CacheTokens.cpp
1716
CompilerInstance.cpp
1817
CompilerInvocation.cpp

lib/Frontend/CompilerInvocation.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,6 @@ static const char *getActionName(frontend::ActionKind Kind) {
361361
case frontend::ASTDumpXML: return "-ast-dump-xml";
362362
case frontend::ASTPrint: return "-ast-print";
363363
case frontend::ASTView: return "-ast-view";
364-
case frontend::BoostCon: return "-boostcon";
365364
case frontend::CreateModule: return "-create-module";
366365
case frontend::DumpRawTokens: return "-dump-raw-tokens";
367366
case frontend::DumpTokens: return "-dump-tokens";
@@ -1149,8 +1148,6 @@ static InputKind ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
11491148
Opts.ProgramAction = frontend::ASTPrint; break;
11501149
case OPT_ast_view:
11511150
Opts.ProgramAction = frontend::ASTView; break;
1152-
case OPT_boostcon:
1153-
Opts.ProgramAction = frontend::BoostCon; break;
11541151
case OPT_dump_raw_tokens:
11551152
Opts.ProgramAction = frontend::DumpRawTokens; break;
11561153
case OPT_dump_tokens:

lib/FrontendTool/ExecuteCompilerInvocation.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) {
3939
case ASTDumpXML: return new ASTDumpXMLAction();
4040
case ASTPrint: return new ASTPrintAction();
4141
case ASTView: return new ASTViewAction();
42-
case BoostCon: return new BoostConAction();
4342
case CreateModule: return 0;
4443
case DumpRawTokens: return new DumpRawTokensAction();
4544
case DumpTokens: return new DumpTokensAction();

0 commit comments

Comments
 (0)