summaryrefslogtreecommitdiff
path: root/lib/IR/GCOV.cpp
diff options
context:
space:
mode:
authorYuchen Wu <yuchenericwu@hotmail.com>2013-12-04 05:07:36 +0000
committerYuchen Wu <yuchenericwu@hotmail.com>2013-12-04 05:07:36 +0000
commit9bd2991ba0862503e7b7441450328548b9108a89 (patch)
treeb11e3f39044d28914707ce72bee9a10979a6d9e2 /lib/IR/GCOV.cpp
parent812ad83e58f94c006034b942b9482ec1331ae3a2 (diff)
downloadllvm-9bd2991ba0862503e7b7441450328548b9108a89.tar.gz
llvm-9bd2991ba0862503e7b7441450328548b9108a89.tar.bz2
llvm-9bd2991ba0862503e7b7441450328548b9108a89.tar.xz
llvm-cov: Capitalized GCNO and GCDA for consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196354 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/GCOV.cpp')
-rw-r--r--lib/IR/GCOV.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/IR/GCOV.cpp b/lib/IR/GCOV.cpp
index 3b870f3471..1077994fe6 100644
--- a/lib/IR/GCOV.cpp
+++ b/lib/IR/GCOV.cpp
@@ -43,14 +43,14 @@ bool GCOVFile::readGCNO(GCOVBuffer &Buffer) {
Functions.push_back(GFun);
}
- gcnoInitialized = true;
+ GCNOInitialized = true;
return true;
}
/// readGCDA - Read GCDA buffer. It is required that readGCDA() can only be
/// called after readGCNO().
bool GCOVFile::readGCDA(GCOVBuffer &Buffer) {
- assert(gcnoInitialized && "readGCDA() can only be called after readGCNO()");
+ assert(GCNOInitialized && "readGCDA() can only be called after readGCNO()");
if (!Buffer.readGCDAFormat()) return false;
GCOV::GCOVVersion GCDAVersion;
if (!Buffer.readGCOVVersion(GCDAVersion)) return false;
@@ -320,7 +320,7 @@ void GCOVBlock::dump() const {
// FileInfo implementation.
/// print - Print source files with collected line count information.
-void FileInfo::print(StringRef gcnoFile, StringRef gcdaFile) const {
+void FileInfo::print(StringRef GCNOFile, StringRef GCDAFile) const {
for (StringMap<LineData>::const_iterator I = LineInfo.begin(),
E = LineInfo.end(); I != E; ++I) {
StringRef Filename = I->first();
@@ -338,8 +338,8 @@ void FileInfo::print(StringRef gcnoFile, StringRef gcdaFile) const {
errs() << ErrorInfo << "\n";
OS << " -: 0:Source:" << Filename << "\n";
- OS << " -: 0:Graph:" << gcnoFile << "\n";
- OS << " -: 0:Data:" << gcdaFile << "\n";
+ OS << " -: 0:Graph:" << GCNOFile << "\n";
+ OS << " -: 0:Data:" << GCDAFile << "\n";
OS << " -: 0:Runs:" << RunCount << "\n";
OS << " -: 0:Programs:" << ProgramCount << "\n";