mirror of
https://github.com/intel/llvm.git
synced 2026-01-27 06:06:34 +08:00
Fix setting errorReporter.
Previously the errorReporter was incorrectly moved post creating the Lexer. PiperOrigin-RevId: 204077155
This commit is contained in:
committed by
jpienaar
parent
d6c4c5dbb8
commit
610e5a57f6
@@ -53,7 +53,7 @@ public:
|
||||
SMDiagnosticHandlerTy errorReporter)
|
||||
: context(module->getContext()), module(module),
|
||||
lex(sourceMgr, errorReporter), curToken(lex.lexToken()),
|
||||
errorReporter(std::move(errorReporter)) {}
|
||||
errorReporter(errorReporter) {}
|
||||
|
||||
// A map from affine map identifier to AffineMap.
|
||||
llvm::StringMap<AffineMap *> affineMapDefinitions;
|
||||
|
||||
Reference in New Issue
Block a user