mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-06 01:24:35 +00:00
llvm-cov: Rename a variable and clean up its usage
Offset is a terrible name for an indentation / nesting level, and it confuses me every time I look at this code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217861 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -141,7 +141,7 @@ private:
|
||||
void renderLine(raw_ostream &OS, StringRef Line,
|
||||
ArrayRef<HighlightRange> Ranges);
|
||||
|
||||
void renderOffset(raw_ostream &OS, unsigned I);
|
||||
void renderIndent(raw_ostream &OS, unsigned Level);
|
||||
|
||||
void renderViewDivider(unsigned Offset, unsigned Length, raw_ostream &OS);
|
||||
|
||||
@ -192,7 +192,7 @@ public:
|
||||
|
||||
/// \brief Print the code coverage information for a specific
|
||||
/// portion of a source file to the output stream.
|
||||
void render(raw_ostream &OS, unsigned Offset = 0);
|
||||
void render(raw_ostream &OS, unsigned IndentLevel = 0);
|
||||
|
||||
/// \brief Load the coverage information required for rendering
|
||||
/// from the mapping regions in the data manager.
|
||||
|
Reference in New Issue
Block a user