[NFC][Lexer] Remove getLangOpts function from Lexer
authorDawid Jurczak <dawid_jurek@vp.pl>
Tue, 1 Mar 2022 16:24:13 +0000 (17:24 +0100)
committerDawid Jurczak <dawid_jurek@vp.pl>
Wed, 2 Mar 2022 10:17:05 +0000 (11:17 +0100)
commitd813116c9deaa960ddcce5b4b161ea589d6e9a34
treec3efbbc9609c36a32a2acb059347adebc48acaf5
parent83fd2071f0d4033f75234b13398b1de1f6b4c4f3
[NFC][Lexer] Remove getLangOpts function from Lexer

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

Differential Revision: https://reviews.llvm.org/D120404
clang/include/clang/Lex/Lexer.h
clang/lib/Lex/Lexer.cpp
clang/lib/Lex/ModuleMap.cpp