[all-commits] [llvm/llvm-project] cc91ef: [llvm-readobj] - An attempt to fix BB.

Georgii Rymar via All-commits all-commits at lists.llvm.org
Tue Jan 12 02:10:36 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc91efdabee05f749cb42e45aef1b45431844ade
      https://github.com/llvm/llvm-project/commit/cc91efdabee05f749cb42e45aef1b45431844ade
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readobj] - An attempt to fix BB.

This adds the `template` keyword for 'getAsArrayRef' calls.

An example of error:
/b/1/openmp-gcc-x86_64-linux-debian/llvm.src/llvm/tools/llvm-readobj/ELFDumper.cpp:4491:50: error: use 'template' keyword to treat 'getAsArrayRef' as a dependent template name
    for (const Elf_Rel &Rel : this->DynRelRegion.getAsArrayRef<Elf_Rel>())




More information about the All-commits mailing list