Skip to content

Commit

Permalink
Title: Fix build warning for operator<< when using GCC 7.
Browse files Browse the repository at this point in the history
Authored By: etiotto
Differential Revision: https://reviews.llvm.org/D63459

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368624 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
whitneywhtsang committed Aug 12, 2019
1 parent 62ea4ba commit 343c25c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/llvm/Analysis/LoopCacheAnalysis.h
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ class CacheCost {
DependenceInfo &DI;
};

raw_ostream &operator<<(raw_ostream &OS, const IndexedReference &R);
raw_ostream &operator<<(raw_ostream &OS, const CacheCost &CC);

/// Printer pass for the \c CacheCost results.
class LoopCachePrinterPass : public PassInfoMixin<LoopCachePrinterPass> {
raw_ostream &OS;
Expand Down

0 comments on commit 343c25c

Please sign in to comment.