From: Whitney Tsang Date: Mon, 12 Aug 2019 22:20:54 +0000 (+0000) Subject: Title: Fix build warning for operator<< when using GCC 7. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=343c25c69d6ae5a3b3551be46d9008b0c5049c3f;p=llvm 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 --- 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;