[PATCH] D137960: [Lexer] Speedup LexTokenInternal
Jay Foad via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 17 06:21:17 PST 2022
foad added inline comments.
================
Comment at: clang/lib/Lex/Lexer.cpp:3520-3521
+LexStart:
+ assert(!Result.needsCleaning() && "Result doesn't need cleaning");
+ assert(!Result.hasPtrData() && "Result has been reset");
----------------
Messages are backwards. They should be like "Result needs cleaning!" and "Result has not been reset!".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137960/new/
https://reviews.llvm.org/D137960
More information about the cfe-commits
mailing list