[all-commits] [llvm/llvm-project] 75eacb: Fix issues reported by -Wrange-loop-analysis when ...

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Tue Jan 7 10:58:37 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 75eacbf1a9fbc29432a6e0c5627e6c8e95683956
      https://github.com/llvm/llvm-project/commit/75eacbf1a9fbc29432a6e0c5627e6c8e95683956
  Author: Alexandre Ganea <alexandre.ganea at ubisoft.com>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M clang-tools-extra/clangd/unittests/ParsedASTTests.cpp
    M clang-tools-extra/clangd/unittests/RenameTests.cpp
    M llvm/lib/Support/Windows/Program.inc

  Log Message:
  -----------
  Fix issues reported by -Wrange-loop-analysis when building with latest Clang (trunk). NFC.

Fixes warning: loop variable 'E' of type 'const llvm::StringRef' creates a copy from type 'const llvm::StringRef' [-Wrange-loop-analysis]




More information about the All-commits mailing list