denik marked 2 inline comments as done. denik added inline comments.
================ Comment at: clang/lib/Frontend/InitHeaderSearch.cpp:141-143 + if (HasSysroot) { + if (MappedPathStr.startswith("/usr/include") || + MappedPathStr.startswith("/usr/local/include")) { ---------------- aaron.ballman wrote: > These should be combined into a single if statement: > ``` > if (HasSysroot && (MappedPathStr.startswith(...) || > MappedPathStr.startswith(...))) { > ``` Done. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D52524/new/ https://reviews.llvm.org/D52524 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits