[all-commits] [llvm/llvm-project] e48f44: [Sema] Fix -Warray-bounds false negative when cast...

Ilya Mirsky via All-commits all-commits at lists.llvm.org
Wed Feb 3 05:51:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e48f444751cf781c42934b242b81f549da77bad0
      https://github.com/llvm/llvm-project/commit/e48f444751cf781c42934b242b81f549da77bad0
  Author: Ilya Mirsky <ilya.mirsky at ericsson.com>
  Date:   2021-02-03 (Wed, 03 Feb 2021)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/Parser/cxx-ambig-decl-expr.cpp
    M clang/test/SemaCXX/array-bounds.cpp

  Log Message:
  -----------
  [Sema] Fix -Warray-bounds false negative when casting an out-of-bounds array item

Patch by Ilya Mirsky!

Fixes: http://llvm.org/PR44343

Reviewed By: rsmith

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




More information about the All-commits mailing list