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

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 13:28:29 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 {
----------------
mtrofin wrote:

it's a variable name, so yes (moreover, clang-format marked them in vscode accordingly)

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


More information about the llvm-commits mailing list