On Mon, Nov 5, 2012 at 10:08 PM, Argyrios Kyrtzidis <[email protected]>wrote:
> > Since Preprocessor has a getModuleLoader() method, that would force > null-checks on all callers. Currently only 2 of them, so no big deal, but I > tend to shy away from exposing NULLs. > > > How about if you don't pass an implementation of ModuleLoader, the > preprocessor creates internally the "VoidModuleLoader". > Sure, that's also an option. It just occurred to me that another alternative might be to have ModuleLoader itself implement loadModule by default. - Kim
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
