From a7165c088e11a9b244d9efde95291fa79692e2c9 Mon Sep 17 00:00:00 2001 From: Whitney Tsang Date: Mon, 12 Aug 2019 22:20:54 +0000 Subject: [PATCH] Title: Fix build warning for operator<< when using GCC 7. Authored By: etiotto Differential Revision: https://reviews.llvm.org/D63459 llvm-svn: 368624 --- llvm/include/llvm/Analysis/LoopCacheAnalysis.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/include/llvm/Analysis/LoopCacheAnalysis.h b/llvm/include/llvm/Analysis/LoopCacheAnalysis.h index 662b4eafc97c..ffec78b6db2c 100644 --- a/llvm/include/llvm/Analysis/LoopCacheAnalysis.h +++ b/llvm/include/llvm/Analysis/LoopCacheAnalysis.h @@ -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 { raw_ostream &OS; -- 2.34.1