[cfe-commits] [PATCH] Warn is -isysroot is given an invalid path

Chad Rosier 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...
Name: no_isysroot.patch
Type: application/octet-stream
Size: 2354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121213/de2f177b/attachment.obj>

More information about the cfe-commits mailing list