aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp
diff options
context:
space:
mode:
authorBalazs Benics <benicsbalazs@gmail.com>2025-10-03 16:24:03 +0200
committerGitHub <noreply@github.com>2025-10-03 16:24:03 +0200
commitef4471edfa6d72e13c8f8e90bef521caee6f4b1f (patch)
tree7d50d6b7296d9bf036b479e992c4d719d15d7883 /llvm/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp
parentdf6549403525dd3bca864d65bb168956ef946d12 (diff)
downloadllvm-ef4471edfa6d72e13c8f8e90bef521caee6f4b1f.zip
llvm-ef4471edfa6d72e13c8f8e90bef521caee6f4b1f.tar.gz
llvm-ef4471edfa6d72e13c8f8e90bef521caee6f4b1f.tar.bz2
[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.
Diffstat (limited to 'llvm/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp')
0 files changed, 0 insertions, 0 deletions