[clang] [clang] Implement CWG2428 "Deprecating a concept" (PR #92295)

via cfe-commits cfe-commits at lists.llvm.org
Thu May 16 04:57:52 PDT 2024


================
@@ -316,7 +318,8 @@ Parser::ParseConceptDefinition(const ParsedTemplateInfo &TemplateInfo,
   const IdentifierInfo *Id = Result.Identifier;
   SourceLocation IdLoc = Result.getBeginLoc();
 
-  DiagnoseAndSkipCXX11Attributes();
+  ParsedAttributes Attrs(AttrFactory);
+  MaybeParseAttributes(PAKM_GNU | PAKM_Declspec | PAKM_CXX11, Attrs);
----------------
cor3ntin wrote:

Did you check MSVC for the `PAKM_Declspec` ?

https://github.com/llvm/llvm-project/pull/92295


More information about the cfe-commits mailing list