search for: compilerargs

Displaying 1 result from an estimated 1 matches for "compilerargs".

2014 Feb 27
2
[LLVMdev] multithreaded use of llvm::sys::RemoveFileOnSignal
Hi, I am using clang::ToolInvocation class to compile some code in-memory: clang::tooling::ToolInvocation ti ( compilerArgs, new clang::EmitBCAction(), new clang::FileManager(clang::FileSystemOptions()) ); //filename is the name of the source file, e.g. "Somefile.cpp" //sourcecode contains the source of the file ti.mapVirtualFile( filename, sourcecode ); bool ret = ti.run(); In...