[all-commits] [llvm/llvm-project] e6785f: [Scalar] Fix a warning
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sun May 12 23:03:01 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e6785fd75284f53b9e23db6f249598e09f3fc39f
https://github.com/llvm/llvm-project/commit/e6785fd75284f53b9e23db6f249598e09f3fc39f
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/GVNSink.cpp
Log Message:
-----------
[Scalar] Fix a warning
This patch fixes:
llvm/lib/Transforms/Scalar/GVNSink.cpp:270:33: error: lambda capture
'this' is not used [-Werror,-Wunused-lambda-capture]
While I am at it, this patch replaces llvm::for_each with a
range-based for loop.
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