-Wdeprecated clean by making LogBuilder move constructible so it can be returned by value (in DifferenceEngine::logf)
llvm-svn: 244129
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
using namespace llvm;
|
||||
|
||||
LogBuilder::~LogBuilder() {
|
||||
consumer.logf(*this);
|
||||
if (consumer)
|
||||
consumer->logf(*this);
|
||||
}
|
||||
|
||||
StringRef LogBuilder::getFormat() const { return Format; }
|
||||
|
||||
Reference in New Issue
Block a user