[all-commits] [llvm/llvm-project] cfff48: Add warnings for casting ptr -> smaller int for C+...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Thu Mar 5 15:17:26 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cfff4851acc5132c8dcaebca6af92f817e133d66
      https://github.com/llvm/llvm-project/commit/cfff4851acc5132c8dcaebca6af92f817e133d66
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M clang/lib/Sema/SemaCast.cpp
    M clang/test/SemaCXX/MicrosoftExtensions.cpp

  Log Message:
  -----------
  Add warnings for casting ptr -> smaller int for C++ in Microsoft mode

Adds warnings to groups recently added in https://reviews.llvm.org/D72231.

Reviewed By: rnk

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




More information about the All-commits mailing list