diff --git a/lib/Transforms/Utils/SymbolRewriter.cpp b/lib/Transforms/Utils/SymbolRewriter.cpp index aacc9450546..9f57ad1c64f 100644 --- a/lib/Transforms/Utils/SymbolRewriter.cpp +++ b/lib/Transforms/Utils/SymbolRewriter.cpp @@ -113,7 +113,8 @@ bool ExplicitRewriteDescriptor::performOnModule(Module &M) { template ::iterator> (llvm::Module::*Iterator)()> + iterator_range::iterator> + (llvm::Module::*Iterator)()> class PatternRewriteDescriptor : public RewriteDescriptor { public: const std::string Pattern; @@ -131,7 +132,8 @@ public: template ::iterator> (llvm::Module::*Iterator)()> + iterator_range::iterator> + (llvm::Module::*Iterator)()> bool PatternRewriteDescriptor:: performOnModule(Module &M) { bool Changed = false;