[clang] [Clang] [Parser] Fixing all callers of `ParseExternalDeclaration` that didn't parse gnu attributes (PR #117148)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 25 10:24:57 PST 2024
================
@@ -480,10 +468,7 @@ Decl *Parser::ParseExportDeclaration() {
while (!tryParseMisplacedModuleImport() && Tok.isNot(tok::r_brace) &&
Tok.isNot(tok::eof)) {
- ParsedAttributes DeclAttrs(AttrFactory);
- MaybeParseCXX11Attributes(DeclAttrs);
----------------
erichkeane wrote:
I wonder if we can private-ize/hide `MaybeParseXXAttributes` so that only that function can call it?
https://github.com/llvm/llvm-project/pull/117148
More information about the cfe-commits
mailing list