From 2098ff702e257c8a0a71def63bac115cb9639342 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sat, 3 Feb 2018 16:10:01 +0100 Subject: [PATCH] fixup! Do not turn errors into warnings by default --- generator/frontendaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }