[all-commits] [llvm/llvm-project] 3dc8ef: Revert "[clang-format][NFC] Make LangOpts global i...

Owen Pan via All-commits all-commits at lists.llvm.org
Sun Feb 11 13:10:13 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3dc8ef677d7d05116a0bf6524eb38b02ca6ba042
      https://github.com/llvm/llvm-project/commit/3dc8ef677d7d05116a0bf6524eb38b02ca6ba042
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-02-11 (Sun, 11 Feb 2024)

  Changed paths:
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/FormatTokenLexer.cpp
    M clang/lib/Format/FormatTokenLexer.h
    M clang/lib/Format/IntegerLiteralSeparatorFixer.cpp
    M clang/lib/Format/TokenAnalyzer.cpp
    M clang/lib/Format/TokenAnalyzer.h
    M clang/unittests/Format/TestLexer.h

  Log Message:
  -----------
  Revert "[clang-format][NFC] Make LangOpts global in namespace Format (#81390)"

This reverts commit 03f571995b4f0c260254955afd16ec44d0764794.

We can't hide getFormattingLangOpts() as it's used by other tools.




More information about the All-commits mailing list