[all-commits] [llvm/llvm-project] 802d46: [clang-doc] Update lookup routines for consistency...
Paul Kirth via All-commits
all-commits at lists.llvm.org
Wed Apr 1 23:18:05 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 802d4631e02b35a5890802a83459607d42cf4e98
https://github.com/llvm/llvm-project/commit/802d4631e02b35a5890802a83459607d42cf4e98
Author: Paul Kirth <paulkirth at google.com>
Date: 2026-04-01 (Wed, 01 Apr 2026)
Changed paths:
M clang-tools-extra/clang-doc/JSONGenerator.cpp
M clang-tools-extra/clang-doc/Representation.cpp
Log Message:
-----------
[clang-doc] Update lookup routines for consistency (#190043)
When filtering is enabled, its possible an Info doesn't have a
Parent USR. Use `find()` to safely handle that case.
Additionally, I noticed the comparison code for the index
poorly reimplemented the existing comparison from StringRef.
We can just use the one from ADT.
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