** Description changed:

  Although providing a --header-filter argument to clang-tidy (to ignore
- upstream headers), corresponding issues are reported:
+ upstream headers), corresponding issues are reported in upstream files:
  
  clang-tidy-21 -header-filter=/vol/sandbox/ros2/src/mtc/.* -export-fixes
  /tmp/tmpg068acdm/tmpglta95v3.yaml
  -p=/vol/sandbox/ros2/src/mtc/../../build/moveit_task_constructor_visualization
  
/vol/sandbox/ros2/src/mtc/visualization/visualization_tools/src/marker_visualization.cpp
  
  yields, for example:
  
  /opt/ros/lyrical/opt/rviz_ogre_vendor/include/OGRE/OgreVector.h:619:17:
  warning: Out of bound access to memory after the end of 'ret.x' [clang-
  analyzer-security.ArrayBound]
+ 
+ clang-tidy-22 no longer shows that problem.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: clang-tidy 1:21.1.6-71
  ProcVersionSignature: Ubuntu 7.0.0-30.30-generic 7.0.12
  Uname: Linux 7.0.0-30-generic x86_64
  ApportVersion: 2.34.1-0ubuntu0.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Sep  3 09:50:05 2026
  InstallationDate: Installed on 2026-08-12 (22 days ago)
  InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 
(20260423.1)
  SourcePackage: llvm-defaults
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2166318

Title:
  clang-tidy ignores --header-filter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-defaults/+bug/2166318/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to