[llvm] [NFC][LLVM] Document variadic `isa` (PR #136869)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 10 10:52:58 PST 2025


================
@@ -39,9 +39,8 @@ Value *llvm::getDefaultValue(Type *T) {
 }
 
 bool llvm::hasAliasUse(Function &F) {
-  return any_of(F.users(), [](User *U) {
-      return isa<GlobalAlias>(U) || isa<GlobalIFunc>(U);
-    });
+  return any_of(F.users(),
+                [](User *U) { return isa<GlobalAlias, GlobalIFunc>(U); });
----------------
jurahul wrote:

N/A, as I have removed any code changes from this PR.

https://github.com/llvm/llvm-project/pull/136869


More information about the llvm-commits mailing list