[cfe-commits] [PATCH] Warn is -isysroot is given an invalid path
echristo at gmail.com
Thu Dec 13 22:30:25 PST 2012
On Thu, Dec 13, 2012 at 4:54 PM, Chad Rosier <mcrosier at apple.com> wrote:
> The attached patch emits a warning in the frontend if the -isysroot flag
> is given an invalid directory. I've implemented this using
> llvm::sys:fs::exists(), but please let me know if
> FileManager::getStatValue() (or another option) is preferred; I'll modify
> the patch accordingly. I'll also add a test case before pushing the final
Curious: What's the motivation here? I can see it as being potentially more
serious than -I /some/invalid/path but we don't warn on that one (at least
as far as I know).
Not against it, just curious. :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits