From eb4373abe829f8731b3e6d4da97ad88a9a93aa28 Mon Sep 17 00:00:00 2001 From: Erich Keane Date: Mon, 21 Nov 2022 06:30:47 -0800 Subject: Remove -cc1 -fconcepts-ts flag The -fconcepts-ts flag has been deprecated for 5 releases now, so just remove it, concepts is supported in C++20 mode. --- clang/lib/Frontend/CompilerInvocation.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'clang/lib/Frontend/CompilerInvocation.cpp') diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index f09d5e1..a13da5a 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -491,9 +491,6 @@ static bool FixupInvocation(CompilerInvocation &Invocation, if (LangOpts.AppleKext && !LangOpts.CPlusPlus) Diags.Report(diag::warn_c_kext); - if (Args.hasArg(OPT_fconcepts_ts)) - Diags.Report(diag::warn_fe_concepts_ts_flag); - if (LangOpts.NewAlignOverride && !llvm::isPowerOf2_32(LangOpts.NewAlignOverride)) { Arg *A = Args.getLastArg(OPT_fnew_alignment_EQ); -- cgit v1.1