[all-commits] [llvm/llvm-project] 0104f5: [clang-format] Mark FormatToken::getNextNonComment...

Marek Kurdej via All-commits all-commits at lists.llvm.org
Fri Feb 11 06:21:42 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0104f5efede22890c356810f992162a84cd615dd
      https://github.com/llvm/llvm-project/commit/0104f5efede22890c356810f992162a84cd615dd
  Author: Marek Kurdej <marek.kurdej+llvm.org at gmail.com>
  Date:   2022-02-11 (Fri, 11 Feb 2022)

  Changed paths:
    M clang/lib/Format/FormatToken.h

  Log Message:
  -----------
  [clang-format] Mark FormatToken::getNextNonComment() nodiscard. NFC.


  Commit: 23f27850b1e00e66ba19fc844ad8f2bd70268536
      https://github.com/llvm/llvm-project/commit/23f27850b1e00e66ba19fc844ad8f2bd70268536
  Author: Marek Kurdej <marek.kurdej+llvm.org at gmail.com>
  Date:   2022-02-11 (Fri, 11 Feb 2022)

  Changed paths:
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/UnwrappedLineFormatter.cpp

  Log Message:
  -----------
  [clang-format] Avoid multiple calls to FormatToken::getNextNonComment(). NFC.


Compare: https://github.com/llvm/llvm-project/compare/6a7f6e9404f5...23f27850b1e0


More information about the All-commits mailing list