[all-commits] [llvm/llvm-project] fd3cad: [clang] Fix ForStmt mustprogress handling

Atmn Patel via All-commits all-commits at lists.llvm.org
Mon Nov 9 08:38:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fd3cad7a60168b49f7bc160354655d7605847d41
      https://github.com/llvm/llvm-project/commit/fd3cad7a60168b49f7bc160354655d7605847d41
  Author: Atmn Patel <a335pate at uwaterloo.ca>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M clang/lib/CodeGen/CGStmt.cpp
    M clang/test/CodeGen/attr-mustprogress-1.c
    M clang/test/CodeGen/attr-mustprogress-1.cpp

  Log Message:
  -----------
  [clang] Fix ForStmt mustprogress handling

D86841 had an error where for statements with no conditional were
required to make progress. This is not true, this patch removes that
line, and adds regression tests.

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




More information about the All-commits mailing list