[llvm] r274694 - Minor formatting change, NFC
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 6 15:02:55 PDT 2016
Author: vedantk
Date: Wed Jul 6 17:02:55 2016
New Revision: 274694
URL: http://llvm.org/viewvc/llvm-project?rev=274694&view=rev
Log:
Minor formatting change, NFC
The rest of llvm-cov does not use LLVM_ATTRIBUTE_UNUSED. Leave unused
params unnamed to be consistent.
Modified:
llvm/trunk/tools/llvm-cov/SourceCoverageViewText.cpp
Modified: llvm/trunk/tools/llvm-cov/SourceCoverageViewText.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-cov/SourceCoverageViewText.cpp?rev=274694&r1=274693&r2=274694&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-cov/SourceCoverageViewText.cpp (original)
+++ llvm/trunk/tools/llvm-cov/SourceCoverageViewText.cpp Wed Jul 6 17:02:55 2016
@@ -59,11 +59,9 @@ unsigned getDividerWidth(const CoverageV
} // anonymous namespace
-void SourceCoverageViewText::renderViewHeader(
- raw_ostream &OS LLVM_ATTRIBUTE_UNUSED) {}
+void SourceCoverageViewText::renderViewHeader(raw_ostream &) {}
-void SourceCoverageViewText::renderViewFooter(
- raw_ostream &OS LLVM_ATTRIBUTE_UNUSED) {}
+void SourceCoverageViewText::renderViewFooter(raw_ostream &) {}
void SourceCoverageViewText::renderSourceName(raw_ostream &OS) {
getOptions().colored_ostream(OS, raw_ostream::CYAN) << getSourceName()
@@ -76,9 +74,7 @@ void SourceCoverageViewText::renderLineP
OS << " |";
}
-void SourceCoverageViewText::renderLineSuffix(
- raw_ostream &OS LLVM_ATTRIBUTE_UNUSED,
- unsigned ViewDepth LLVM_ATTRIBUTE_UNUSED) {}
+void SourceCoverageViewText::renderLineSuffix(raw_ostream &, unsigned) {}
void SourceCoverageViewText::renderViewDivider(raw_ostream &OS,
unsigned ViewDepth) {
More information about the llvm-commits
mailing list