[all-commits] [llvm/llvm-project] 12c264: [gn build] sync script: only compute tokloc when a...

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Nov 25 18:19:41 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 12c2646feb10c3aa14f590bcf9f5a3f9fc7b41b7
      https://github.com/llvm/llvm-project/commit/12c2646feb10c3aa14f590bcf9f5a3f9fc7b41b7
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-11-25 (Wed, 25 Nov 2020)

  Changed paths:
    M llvm/utils/gn/build/sync_source_lists_from_cmake.py

  Log Message:
  -----------
  [gn build] sync script: only compute tokloc when adding files

No behavior change, but maybe a bit clearer.


  Commit: 43afba0677d4630ee6a35308a4b227144b8f1d42
      https://github.com/llvm/llvm-project/commit/43afba0677d4630ee6a35308a4b227144b8f1d42
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-11-25 (Wed, 25 Nov 2020)

  Changed paths:
    M llvm/utils/gn/build/sync_source_lists_from_cmake.py

  Log Message:
  -----------
  [gn build] sync script: try to make a loop clearer

We want to find 'sources = [', but only if it's not the prefix
of 'sources = []' -- we're looking for a non-empty list.

No behavior change.


Compare: https://github.com/llvm/llvm-project/compare/48d101724535...43afba0677d4


More information about the All-commits mailing list