[all-commits] [llvm/llvm-project] 80068c: [analyzer] Fix for faulty namespace test in SmartP...

Deep Majumder via All-commits all-commits at lists.llvm.org
Wed Jul 21 05:54:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80068ca6232b32e3ab79eb2ed72fd73558179ad5
      https://github.com/llvm/llvm-project/commit/80068ca6232b32e3ab79eb2ed72fd73558179ad5
  Author: Deep Majumder <deep.majumder2019 at gmail.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp
    M clang/test/Analysis/smart-ptr.cpp

  Log Message:
  -----------
  [analyzer] Fix for faulty namespace test in SmartPtrModelling

This patch:
- Fixes how the std-namespace test is written in SmartPtrModelling
(now accounts for functions with no Decl available)
- Adds the smart pointer checker flag check where it was missing

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




More information about the All-commits mailing list