mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-03 02:08:35 +00:00
Use LLVM_ATTRIBUTE_UNUSED instead of void casts; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274139 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cdfe078a42
commit
0cd4101ef2
@ -59,9 +59,11 @@ unsigned getDividerWidth(const CoverageViewOptions &Opts) {
|
||||
|
||||
} // anonymous namespace
|
||||
|
||||
void SourceCoverageViewText::renderViewHeader(raw_ostream &OS) { (void)OS; }
|
||||
void SourceCoverageViewText::renderViewHeader(
|
||||
raw_ostream &OS LLVM_ATTRIBUTE_UNUSED) {}
|
||||
|
||||
void SourceCoverageViewText::renderViewFooter(raw_ostream &OS) { (void)OS; }
|
||||
void SourceCoverageViewText::renderViewFooter(
|
||||
raw_ostream &OS LLVM_ATTRIBUTE_UNUSED) {}
|
||||
|
||||
void SourceCoverageViewText::renderSourceName(raw_ostream &OS) {
|
||||
getOptions().colored_ostream(OS, raw_ostream::CYAN) << getSourceName()
|
||||
@ -74,11 +76,9 @@ void SourceCoverageViewText::renderLinePrefix(raw_ostream &OS,
|
||||
OS << " |";
|
||||
}
|
||||
|
||||
void SourceCoverageViewText::renderLineSuffix(raw_ostream &OS,
|
||||
unsigned ViewDepth) {
|
||||
(void)OS;
|
||||
(void)ViewDepth;
|
||||
}
|
||||
void SourceCoverageViewText::renderLineSuffix(
|
||||
raw_ostream &OS LLVM_ATTRIBUTE_UNUSED,
|
||||
unsigned ViewDepth LLVM_ATTRIBUTE_UNUSED) {}
|
||||
|
||||
void SourceCoverageViewText::renderViewDivider(raw_ostream &OS,
|
||||
unsigned ViewDepth) {
|
||||
|
Loading…
Reference in New Issue
Block a user