[PATCH] D98889: [clang] Replaced some manual pointer tagging with llvm::PointerIntPair.
Josh Haberman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 18 13:40:24 PDT 2021
haberman updated this revision to Diff 331679.
haberman added a comment.
Updated comment "the low bit" -> "the integer".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98889/new/
https://reviews.llvm.org/D98889
Files:
clang/include/clang/Sema/Initialization.h
Index: clang/include/clang/Sema/Initialization.h
===================================================================
--- clang/include/clang/Sema/Initialization.h
+++ clang/include/clang/Sema/Initialization.h
@@ -187,7 +187,7 @@
ObjCMethodDecl *MethodDecl;
/// When Kind == EK_Parameter, the ParmVarDecl, with the
- /// low bit indicating whether the parameter is "consumed".
+ /// integer indicating whether the parameter is "consumed".
llvm::PointerIntPair<ParmVarDecl *, 1> Parameter;
/// When Kind == EK_Temporary or EK_CompoundLiteralInit, the type
@@ -197,7 +197,7 @@
struct LN LocAndNRVO;
/// When Kind == EK_Base, the base specifier that provides the
- /// base class. The lower bit specifies whether the base is an inherited
+ /// base class. The integer specifies whether the base is an inherited
/// virtual base.
llvm::PointerIntPair<const CXXBaseSpecifier *, 1> Base;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98889.331679.patch
Type: text/x-patch
Size: 941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210318/74c19a3e/attachment-0001.bin>
More information about the cfe-commits
mailing list