[PATCH] D126642: [Clang] NFCI: Repurpose HasExtParameterInfos for HasExtraBitfields
Sander de Smalen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 30 05:15:23 PDT 2022
sdesmalen created this revision.
sdesmalen added reviewers: aaron.ballman, erichkeane, efriedma.
Herald added a project: All.
sdesmalen requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
The FunctionTypeExtraBitfields is currently only available when the
ExceptionSpecificationType == Dynamic, which means that there is no other
way to use or extend the FunctionTypeExtraBitfields independently of the
exception specification type.
Because there are no more bits available, this patch repurposes the
HasExtParameterInfos bit to specify whether the prototype has
ExtraBitfields and moves the `HasExtParamaterInfos` value to the
FunctionTypeExtraBitfields struct.
This patch intends to be NFC and is required for future extension
of the ExtraBitfields struct.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D126642
Files:
clang/include/clang/AST/Type.h
clang/lib/AST/ASTContext.cpp
clang/lib/AST/Type.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126642.432892.patch
Type: text/x-patch
Size: 5183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220530/b13fc542/attachment.bin>
More information about the cfe-commits
mailing list