[all-commits] [llvm/llvm-project] 4681ae: [clang-format] Use range-for loops. NFC.

Marek Kurdej via All-commits all-commits at lists.llvm.org
Fri Jan 7 07:06:31 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4681ae9353ed89d28a95f4d07e8050f8772ae724
      https://github.com/llvm/llvm-project/commit/4681ae9353ed89d28a95f4d07e8050f8772ae724
  Author: Marek Kurdej <marek.kurdej+llvm.org at gmail.com>
  Date:   2022-01-07 (Fri, 07 Jan 2022)

  Changed paths:
    M clang/lib/Format/QualifierAlignmentFixer.cpp
    M clang/lib/Format/SortJavaScriptImports.cpp
    M clang/lib/Format/TokenAnalyzer.cpp
    M clang/lib/Format/TokenAnnotator.h

  Log Message:
  -----------
  [clang-format] Use range-for loops. NFC.

* Avoid if check on every element of the loop when printing symbols.




More information about the All-commits mailing list