[all-commits] [llvm/llvm-project] 59a9a8: [clang][dataflow] Fix smart pointer accessor cachi...

Jan Voung via All-commits all-commits at lists.llvm.org
Thu Jan 30 06:50:44 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59a9a8f2eadeadc2a1281fc7ae74054ca264abbb
      https://github.com/llvm/llvm-project/commit/59a9a8f2eadeadc2a1281fc7ae74054ca264abbb
  Author: Jan Voung <jvoung at google.com>
  Date:   2025-01-30 (Thu, 30 Jan 2025)

  Changed paths:
    M clang/lib/Analysis/FlowSensitive/SmartPointerAccessorCaching.cpp
    M clang/unittests/Analysis/FlowSensitive/SmartPointerAccessorCachingTest.cpp

  Log Message:
  -----------
  [clang][dataflow] Fix smart pointer accessor caching to handle aliases (#124964)

Check the canonical type in the matchers to handle aliases.
For example std::optional uses add_pointer_t<...>.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list