[PATCH] D126062: [clang] Don't parse MS attributes in `ParseExportDeclaration()`.
Martin Böhme via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 25 08:15:59 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6f4644d194da: [clang] Don't parse MS attributes in `ParseExportDeclaration()`. (authored by mboehme).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126062/new/
https://reviews.llvm.org/D126062
Files:
clang/lib/Parse/ParseDeclCXX.cpp
Index: clang/lib/Parse/ParseDeclCXX.cpp
===================================================================
--- clang/lib/Parse/ParseDeclCXX.cpp
+++ clang/lib/Parse/ParseDeclCXX.cpp
@@ -438,7 +438,6 @@
// FIXME: Factor out a ParseExternalDeclarationWithAttrs.
ParsedAttributes Attrs(AttrFactory);
MaybeParseCXX11Attributes(Attrs);
- MaybeParseMicrosoftAttributes(Attrs);
ParseExternalDeclaration(Attrs);
return Actions.ActOnFinishExportDecl(getCurScope(), ExportDecl,
SourceLocation());
@@ -458,7 +457,6 @@
Tok.isNot(tok::eof)) {
ParsedAttributes Attrs(AttrFactory);
MaybeParseCXX11Attributes(Attrs);
- MaybeParseMicrosoftAttributes(Attrs);
ParseExternalDeclaration(Attrs);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126062.432005.patch
Type: text/x-patch
Size: 779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220525/ad04a34e/attachment.bin>
More information about the cfe-commits
mailing list