[all-commits] [llvm/llvm-project] e63a3b: Add cast to appease clang-armv7-linux-build-cache ...

Vedant Kumar via All-commits all-commits at lists.llvm.org
Fri Feb 28 18:28:00 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e63a3b445ac032d0b6fe7d3d1e1d8be7f9cb310b
      https://github.com/llvm/llvm-project/commit/e63a3b445ac032d0b6fe7d3d1e1d8be7f9cb310b
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2020-02-28 (Fri, 28 Feb 2020)

  Changed paths:
    M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h

  Log Message:
  -----------
  Add cast to appease clang-armv7-linux-build-cache (D69471 followup)

http://lab.llvm.org:8011/builders/clang-armv7-linux-build-cache/builds/27075

error: non-constant-expression cannot be narrowed from type 'uint64_t'
(aka 'unsigned long long') to 'size_t' (aka 'unsigned int') in
initializer list [-Wc++11-narrowing]
  return {MappingBuf, getDataSize<FuncRecordTy, Endian>(Record)};




More information about the All-commits mailing list