Refine DebugLoc per review comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63132 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2009-01-27 21:15:07 +00:00
parent ce9bc12c6f
commit aaeea9e64f
3 changed files with 22 additions and 19 deletions

View File

@ -311,10 +311,10 @@ public:
// Debug location.
//
/// lookUpDebugLocId - Look up the DebugLocTuple index with the given
/// source file, line, and column. It may add a new filename and / or
/// a new DebugLocTuple.
unsigned lookUpDebugLocId(unsigned Src, unsigned Line, unsigned Col);
/// getOrCreateDebugLocID - Look up the DebugLocTuple index with the given
/// source file, line, and column. If none currently exists, create add a new
/// new DebugLocTuple and insert it into the DebugIdMap.
unsigned getOrCreateDebugLocID(unsigned Src, unsigned Line, unsigned Col);
};
//===--------------------------------------------------------------------===//