[all-commits] [llvm/llvm-project] 8f69da: [ElementCount] NFC: Set 'const' qualifier for getW...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Thu Feb 4 03:28:30 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f69da9f9759c0479c365d3e316d474b9b3fe7c9
      https://github.com/llvm/llvm-project/commit/8f69da9f9759c0479c365d3e316d474b9b3fe7c9
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M llvm/include/llvm/Support/TypeSize.h

  Log Message:
  -----------
  [ElementCount] NFC: Set 'const' qualifier for getWithIncrement/Decrement.

These class methods simply return a new UnivariateLinearPolyBase
(e.g. ElementCount), and do not modify the object in any way or form,
so qualify for being 'const'.




More information about the All-commits mailing list