[all-commits] [llvm/llvm-project] fc6ec9: [Sema] Fix for PR50741

Chris Hamilton via All-commits all-commits at lists.llvm.org
Thu Jun 17 07:17:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc6ec9b98cf96bca8f68cc65395f861919c06c2f
      https://github.com/llvm/llvm-project/commit/fc6ec9b98cf96bca8f68cc65395f861919c06c2f
  Author: eahcmrh <chris.hamilton at ericsson.com>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

  Changed paths:
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/Sema/unbounded-array-bounds.c

  Log Message:
  -----------
  [Sema] Fix for PR50741

Fixed crash when doing pointer math on a void pointer.

Also, reworked test to use -verify rather than FileCheck.

Reviewed By: erichkeane

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




More information about the All-commits mailing list