[cfe-commits] [PATCH] Warn is -isysroot is given an invalid path
mcrosier at apple.com
Thu Dec 13 16:54:33 PST 2012
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 commit.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2354 bytes
Desc: not available
More information about the cfe-commits