[PATCH] D132806: [LazyCallGraph] Reformat the code in accordance with the code style. NFC

Pavel Samolysov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 28 22:54:46 PDT 2022


psamolysov updated this revision to Diff 456251.
psamolysov added a comment.

More structure bindings have been inserted in the foreach loops. Also, some `insert`s to maps were replaced with the `try_emplace` operations in order to eliminate redundant copies of pairs (but as I see those pairs are small enough but "no-copy" is better than "copy" even whenever this "no-copy" is for free).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132806/new/

https://reviews.llvm.org/D132806

Files:
  llvm/include/llvm/Analysis/LazyCallGraph.h
  llvm/lib/Analysis/LazyCallGraph.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132806.456251.patch
Type: text/x-patch
Size: 18044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220829/66db544e/attachment.bin>


More information about the llvm-commits mailing list