diff --git a/generator/frontendaction.cpp b/generator/frontendaction.cpp index e5a12b6..b77f148 100644 --- a/generator/frontendaction.cpp +++ b/generator/frontendaction.cpp @@ -23,7 +23,7 @@ FrontendAction::CreateASTConsumer(clang::CompilerInstance &compilerInstance, llv // turn some errors into warnings compilerInstance.getDiagnostics().setClient( - new DiagConsumer(std::unique_ptr(compilerInstance.getDiagnostics().takeClient()))); + new DiagConsumer(std::unique_ptr(compilerInstance.getDiagnostics().takeClient()), m_factory.isErrorResilient())); return maybe_unique(new Consumer(m_factory, compilerInstance)); }