[PATCH] D90127: [clang][NFC] Rearrange Comment Token and Lexer fields to reduce padding
Dmitri Gribenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 26 07:02:35 PDT 2020
gribozavr2 accepted this revision.
gribozavr2 added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/include/clang/AST/CommentLexer.h:74
/// contains the length of the string that starts at TextPtr.
unsigned IntVal;
----------------
Could you also swap Length and IntVal? It would be nice to keep Length and TextPtr next to each other.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90127/new/
https://reviews.llvm.org/D90127
More information about the cfe-commits
mailing list