[llvm] r259952 - Variable naming style fix /nfc
Xinliang David Li via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 5 15:24:43 PST 2016
Author: davidxl
Date: Fri Feb 5 17:24:42 2016
New Revision: 259952
URL: http://llvm.org/viewvc/llvm-project?rev=259952&view=rev
Log:
Variable naming style fix /nfc
Modified:
llvm/trunk/include/llvm/ProfileData/InstrProf.h
Modified: llvm/trunk/include/llvm/ProfileData/InstrProf.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ProfileData/InstrProf.h?rev=259952&r1=259951&r2=259952&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ProfileData/InstrProf.h (original)
+++ llvm/trunk/include/llvm/ProfileData/InstrProf.h Fri Feb 5 17:24:42 2016
@@ -310,10 +310,10 @@ public:
/// Update the symtab by adding \p FuncName to the table. This interface
/// is used by the raw and text profile readers.
void addFuncName(StringRef FuncName) {
- auto ins = NameTab.insert(FuncName);
- if (ins.second)
+ auto Ins = NameTab.insert(FuncName);
+ if (Ins.second)
MD5NameMap.push_back(std::make_pair(
- IndexedInstrProf::ComputeHash(FuncName), ins.first->getKey()));
+ IndexedInstrProf::ComputeHash(FuncName), Ins.first->getKey()));
}
/// Map a function address to its name's MD5 hash. This interface
/// is only used by the raw profiler reader.
More information about the llvm-commits
mailing list