[PATCH] D120334: [NFC][Lexer] Make Lexer::LangOpts const reference
Dawid Jurczak via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 25 03:16:41 PST 2022
yurai007 added inline comments.
================
Comment at: clang/include/clang/Lex/Lexer.h:94
+ // LangOpts enabled by this language.
+ const LangOptions &LangOpts;
+
----------------
cor3ntin wrote:
> Should we add a comment to explain why this is a reference?
Good idea. It will be added.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120334/new/
https://reviews.llvm.org/D120334
More information about the cfe-commits
mailing list