From 343c25c69d6ae5a3b3551be46d9008b0c5049c3f 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368624 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/LoopCacheAnalysis.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/llvm/Analysis/LoopCacheAnalysis.h b/include/llvm/Analysis/LoopCacheAnalysis.h index 662b4eafc97..ffec78b6db2 100644 --- a/include/llvm/Analysis/LoopCacheAnalysis.h +++ b/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.40.0