[llvm-branch-commits] [MC][profgen][NFC] Expand auto for MCDecodedPseudoProbe (PR #102788)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Aug 10 23:27:53 PDT 2024


================
@@ -657,7 +657,7 @@ MCPseudoProbeDecoder::getCallProbeForAddr(uint64_t Address) const {
   const auto &Probes = It->second;
 
   const MCDecodedPseudoProbe *CallProbe = nullptr;
-  for (const auto &Probe : Probes) {
----------------
WenleiHe wrote:

Looks good, thanks.

> I intended to minimize the changes in https://github.com/llvm/llvm-project/pull/102789 and make all preparation changes small, isolated, and verifiably NFC.

You might have gone a bit too far. :) And this isn't the first instance. 

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


More information about the llvm-branch-commits mailing list