[PATCH] D120404: [NFC][Lexer] Remove getLangOpts function from Lexer

Dawid Jurczak via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 23 04:32:21 PST 2022


yurai007 created this revision.
yurai007 added reviewers: serge-sans-paille, cor3ntin, jansvoboda11, ymandel, nikic, xbolva00.
yurai007 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Give that there is only one external user of Lexer::getLangOpts
we can remove getter entirely without much pain.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120404

Files:
  clang/include/clang/Lex/Lexer.h
  clang/lib/Lex/Lexer.cpp
  clang/lib/Lex/ModuleMap.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120404.410774.patch
Type: text/x-patch
Size: 5343 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220223/331d04c7/attachment-0001.bin>


More information about the cfe-commits mailing list