]> granicus.if.org Git - llvm/commitdiff
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368624 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LoopCacheAnalysis.h

index 662b4eafc97c6bc5947c6c4febd18ca2a31c9240..ffec78b6db2c7e63c0f85dfcfe1d8e5ff6f8f412 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;