summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Support/GCOV.h (renamed from tools/llvm-cov/GCOVReader.h)10
-rw-r--r--lib/VMCore/GCOV.cpp (renamed from tools/llvm-cov/GCOVReader.cpp)8
-rw-r--r--tools/llvm-cov/llvm-cov.cpp2
3 files changed, 10 insertions, 10 deletions
diff --git a/tools/llvm-cov/GCOVReader.h b/include/llvm/Support/GCOV.h
index 98a556c78d..49cd87fc7b 100644
--- a/tools/llvm-cov/GCOVReader.h
+++ b/include/llvm/Support/GCOV.h
@@ -1,4 +1,4 @@
-//===-- tools/llvm-cov/GCOVReader.h - LLVM coverage tool --------*- C++ -*-===//
+//===-- llvm/Support/GCOV.h - LLVM coverage tool ----------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@@ -7,13 +7,13 @@
//
//===----------------------------------------------------------------------===//
//
-// This header provides the interface to read coverage files that use 'gcov'
-// format.
+// This header provides the interface to read and write coverage files that
+// use 'gcov' format.
//
//===----------------------------------------------------------------------===//
-#ifndef GCOVREADER_H
-#define GCOVREADER_H
+#ifndef LLVM_GCOV_H
+#define LLVM_GCOV_H
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h"
diff --git a/tools/llvm-cov/GCOVReader.cpp b/lib/VMCore/GCOV.cpp
index 2b40a84f8e..fc7f96fcca 100644
--- a/tools/llvm-cov/GCOVReader.cpp
+++ b/lib/VMCore/GCOV.cpp
@@ -1,4 +1,4 @@
-//===- tools/llvm-cov/GCOVReader.cpp - LLVM coverage tool -----------------===//
+//===- GCOVr.cpp - LLVM coverage tool -------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
@@ -7,12 +7,12 @@
//
//===----------------------------------------------------------------------===//
//
-// GCOVReader implements the interface to read coverage files that use 'gcov'
-// format.
+// GCOV implements the interface to read and write coverage files that use
+// 'gcov' format.
//
//===----------------------------------------------------------------------===//
-#include "GCOVReader.h"
+#include "llvm/Support/GCOV.h"
#include "llvm/ADT/OwningPtr.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/MemoryObject.h"
diff --git a/tools/llvm-cov/llvm-cov.cpp b/tools/llvm-cov/llvm-cov.cpp
index 5e4c1ec9de..7b21c5bae2 100644
--- a/tools/llvm-cov/llvm-cov.cpp
+++ b/tools/llvm-cov/llvm-cov.cpp
@@ -11,9 +11,9 @@
//
//===----------------------------------------------------------------------===//
-#include "GCOVReader.h"
#include "llvm/ADT/OwningPtr.h"
#include "llvm/Support/CommandLine.h"
+#include "llvm/Support/GCOV.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/MemoryObject.h"
#include "llvm/Support/PrettyStackTrace.h"