Title: Fix build warning for operator<< when using GCC 7.
authorWhitney Tsang <whitney.uwaterloo@gmail.com>
Mon, 12 Aug 2019 22:20:54 +0000 (22:20 +0000)
committerWhitney Tsang <whitney.uwaterloo@gmail.com>
Mon, 12 Aug 2019 22:20:54 +0000 (22:20 +0000)
Authored By: etiotto
Differential Revision: https://reviews.llvm.org/D63459

llvm-svn: 368624

llvm/include/llvm/Analysis/LoopCacheAnalysis.h

index 662b4ea..ffec78b 100644 (file)
@@ -262,6 +262,9 @@ private:
   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;