[all-commits] [llvm/llvm-project] 339e49: Fix GCC5 build by renaming variable used in 'auto'...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Fri Jun 12 20:09:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 339e49e2ca4b92bad0e2694993c6e59c0cadb440
      https://github.com/llvm/llvm-project/commit/339e49e2ca4b92bad0e2694993c6e59c0cadb440
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-06-13 (Sat, 13 Jun 2020)

  Changed paths:
    M llvm/lib/Analysis/StackSafetyAnalysis.cpp

  Log Message:
  -----------
  Fix GCC5 build by renaming variable used in 'auto' deduction (NFC)

GCC5 errors out with:

llvm/lib/Analysis/StackSafetyAnalysis.cpp:935:21: error: use of 'KV' before deduction of 'auto'
     for (auto &KV : KV.second.Params) {
                     ^




More information about the All-commits mailing list