[llvm] [NFC] Coding style fixes in InstrProf.cpp (PR #98211)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 13:26:00 PDT 2024


================
@@ -497,7 +496,7 @@ Error InstrProfSymtab::create(Module &M, bool InLTO) {
 
 Error InstrProfSymtab::addVTableWithName(GlobalVariable &VTable,
                                          StringRef VTablePGOName) {
-  auto mapName = [&](StringRef Name) -> Error {
+  auto NameToGUIDMap = [&](StringRef Name) -> Error {
----------------
minglotus-6 wrote:

For lambda functions, does code style prefer to make the first character upper case?

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


More information about the llvm-commits mailing list