[all-commits] [llvm/llvm-project] 20e271: [analyzer] Warning for default constructed unique_...

Nithin VR via All-commits all-commits at lists.llvm.org
Wed Jul 8 00:52:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 20e271a98de5609e22766e56f9c374b150f06982
      https://github.com/llvm/llvm-project/commit/20e271a98de5609e22766e56f9c374b150f06982
  Author: Nithin Vadukkumchery Rajendrakumar <vrnithinkumar at gmail.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M clang/docs/analyzer/checkers.rst
    M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
    M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
    A clang/lib/StaticAnalyzer/Checkers/SmartPtr.h
    A clang/lib/StaticAnalyzer/Checkers/SmartPtrChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp
    M clang/test/Analysis/Inputs/system-header-simulator-cxx.h
    M clang/test/Analysis/analyzer-config.c
    M clang/test/Analysis/smart-ptr.cpp
    M clang/test/Analysis/use-after-move.cpp

  Log Message:
  -----------
  [analyzer] Warning for default constructed unique_ptr dereference

Summary: Add support for warning incase of default constructed unique pointer dereferences

Reviewed By: NoQ, Szelethus, vsavchenko, xazax.hun

Tags: #clang

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




More information about the All-commits mailing list