[all-commits] [llvm/llvm-project] 2f6bb2: [clang][Attribute] Fix noderef attribute false-neg...

Leonard Chan via All-commits all-commits at lists.llvm.org
Wed Jun 10 12:21:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f6bb2a69215f9cae883da12f8f596d3f80f8d71
      https://github.com/llvm/llvm-project/commit/2f6bb2a69215f9cae883da12f8f596d3f80f8d71
  Author: Leonard Chan <leonardchan at google.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M clang/include/clang/Sema/Initialization.h
    M clang/lib/Sema/SemaCast.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/test/Frontend/noderef.cpp

  Log Message:
  -----------
  [clang][Attribute] Fix noderef attribute false-negatives

`noderef` was failing to trigger warnings in some cases related to c++ style
casting. This patch addresses them.

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




More information about the All-commits mailing list