Skip to content
Snippets Groups Projects
Commit 163716ba authored by Zuzana Baranová's avatar Zuzana Baranová
Browse files

tools: Use ClangDriver in divcc.

parent 76ab0a6b
No related branches found
No related tags found
No related merge requests found
......@@ -330,8 +330,7 @@ int main( int argc, char **argv )
{
if ( po.hasVersion )
std::cout << "divine version: " << ui::version() << "\n";
cc::Diagnostics diag;
driver::Driver drv( "/usr/bin/false", LLVM_HOST_TRIPLE, diag.engine );
cc::ClangDriver drv;
drv.BuildCompilation( { "divcc", po.hasHelp? "--help" : "--version" } );
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment