[all-commits] [llvm/llvm-project] 1d549c: [NFC] Fixes -Wrange-loop-analysis warnings

mordante via All-commits all-commits at lists.llvm.org
Mon Jan 6 08:38:04 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d549cff48cd52b9967c3a70eeb61abf86444ac3
      https://github.com/llvm/llvm-project/commit/1d549cff48cd52b9967c3a70eeb61abf86444ac3
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2020-01-06 (Mon, 06 Jan 2020)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Utils/Utils.cpp
    M polly/lib/Analysis/ScopGraphPrinter.cpp

  Log Message:
  -----------
  [NFC] Fixes -Wrange-loop-analysis warnings

This avoids new warnings due to D68912 adds -Wrange-loop-analysis to -Wall.

Differential Revision: https://reviews.llvm.org/D72210


  Commit: eec0240f97180ea876193dcfa3cb03cb652d9fe3
      https://github.com/llvm/llvm-project/commit/eec0240f97180ea876193dcfa3cb03cb652d9fe3
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2020-01-06 (Mon, 06 Jan 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/test/Misc/warning-wall.c
    M clang/test/SemaCXX/warn-range-loop-analysis.cpp

  Log Message:
  -----------
  Adds -Wrange-loop-analysis to -Wall

This makes the range loop warnings part of -Wall.

Fixes PR32823: Warn about accidental coping of data in range based for

Differential Revision: https://reviews.llvm.org/D68912

Recomitted after fixing the warnings it created.


Compare: https://github.com/llvm/llvm-project/compare/ea2c159f966b...eec0240f9718


More information about the All-commits mailing list