Skip to content

Commit

Permalink
Variable naming style fix /nfc
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259952 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
david-xl committed Feb 5, 2016
1 parent 8ed60ab commit 412cc8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/llvm/ProfileData/InstrProf.h
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,10 @@ class InstrProfSymtab {
/// 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.
Expand Down

0 comments on commit 412cc8a

Please sign in to comment.