Closed
Description
CppInterOp/lib/Interpreter/CppInterOp.cpp
Lines 58 to 73 in ecbffaf
The interpreter is global and unique at the moment. However, clients do not always agree on the same compiler configuration. I think we need to add more APIs that take compat::Interpreter
as argument. For example,
const char* GetResourceDirFromInterpreter(const compat::Interpreter* interp) {
return interp->getCI()->getHeaderSearchOpts().ResourceDir.c_str();
}