[all-commits] [llvm/llvm-project] d81311: [NFC][Lexer] Remove getLangOpts function from Lexer

yurai007 via All-commits all-commits at lists.llvm.org
Wed Mar 2 02:18:03 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d813116c9deaa960ddcce5b4b161ea589d6e9a34
      https://github.com/llvm/llvm-project/commit/d813116c9deaa960ddcce5b4b161ea589d6e9a34
  Author: Dawid Jurczak <dawid_jurek at vp.pl>
  Date:   2022-03-02 (Wed, 02 Mar 2022)

  Changed paths:
    M clang/include/clang/Lex/Lexer.h
    M clang/lib/Lex/Lexer.cpp
    M clang/lib/Lex/ModuleMap.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list