Skip to content

Commit 40727bc

Browse files
authored
[clang] remove unused frontend flag -fretain-subst-template-type-parm-type-ast-nodes (#134177)
This is a follow-up to #132748, where we deferred the flag removal in order to ease transition for external users. The plan is to merge this in the nearish future, in two weeks or so is my best guess.
1 parent dbeb7c1 commit 40727bc

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

clang/include/clang/Basic/LangOptions.def

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ LANGOPT(Coroutines , 1, 0, "C++20 coroutines")
161161
LANGOPT(CoroAlignedAllocation, 1, 0, "prefer Aligned Allocation according to P2014 Option 2")
162162
LANGOPT(DllExportInlines , 1, 1, "dllexported classes dllexport inline methods")
163163
LANGOPT(ExperimentalLibrary, 1, 0, "enable unstable and experimental library features")
164-
LANGOPT(RetainSubstTemplateTypeParmTypeAstNodes, 1, 0, "retain SubstTemplateTypeParmType nodes in the AST's representation of alias template specializations")
165164

166165
LANGOPT(PointerAuthIntrinsics, 1, 0, "pointer authentication intrinsics")
167166
LANGOPT(PointerAuthCalls , 1, 0, "function pointer authentication")

clang/include/clang/Driver/Options.td

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3509,12 +3509,6 @@ defm application_extension : BoolFOption<"application-extension",
35093509
PosFlag<SetTrue, [], [ClangOption, CC1Option],
35103510
"Restrict code to those available for App Extensions">,
35113511
NegFlag<SetFalse>>;
3512-
defm retain_subst_template_type_parm_type_ast_nodes : BoolFOption<"retain-subst-template-type-parm-type-ast-nodes",
3513-
LangOpts<"RetainSubstTemplateTypeParmTypeAstNodes">, DefaultFalse,
3514-
PosFlag<SetTrue, [], [CC1Option], "Enable">,
3515-
NegFlag<SetFalse, [], [], "Disable">,
3516-
BothFlags<[], [], " retain SubstTemplateTypeParmType nodes in the AST's representation"
3517-
" of alias template specializations">>;
35183512
defm sized_deallocation : BoolFOption<"sized-deallocation",
35193513
LangOpts<"SizedDeallocation">, Default<cpp14.KeyPath>,
35203514
PosFlag<SetTrue, [], [], "Enable C++14 sized global deallocation functions">,

0 commit comments

Comments
 (0)