[clang] [clang] support Wold-style-declaration (PR #78837)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 20 12:01:00 PST 2024
================
@@ -4140,12 +4143,14 @@ void Parser::ParseDeclarationSpecifiers(
}
isInvalid = DS.setFunctionSpecExplicit(ExplicitLoc, PrevSpec, DiagID,
ExplicitSpec, CloseParenLoc);
+ isFunctionSpecifier = true;
----------------
AaronBallman wrote:
C also doesn't have `explicit`.
https://github.com/llvm/llvm-project/pull/78837
More information about the cfe-commits
mailing list