2 Commits

Author SHA1 Message Date
Paul Kirth
f5e2c5ddce
[clang][test] Fix test issue under LLVM_REVERSE_ITERATION (#167394)
The order of these items may not be the same if reverse iteration is
enabled. From what I can tell this is related to visitation order, and I
don't see an easy way to handle that using the typical solutions, like
MapVector, etc. For now, just use CHECK-DAG to get the test into a
passing state.

Fixes #167057
2025-11-11 11:29:52 -08:00
Balazs Benics
ef4471edfa
[analyzer] Teach -analyze-function about USRs, extend documentation (#161666)
This flag is really convinient in most cases.
It's easy to figure out what value to pass for most cases. However, it
can sometimes match too many times, like for template functions that has
non-decuded (aka. explicitly specified) template parameters - because
they don't appear in the parameter list, thus they are not accounted for
in the current logic.

It would be nice to improve `getFunctionName` but I'd say to just settle
on using USRs. So this PR enables passing USRs to the flag, while
keeping previous behavior.
2025-10-03 16:24:03 +02:00