[PATCH] D19842: In openFileForRead, attempt to fetch the actual name of the file on disk -- including case -- so that clang can later warn about non-portable #include and #import directives.
Bruno Cardoso Lopes via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 2 17:10:12 PDT 2016
bruno added inline comments.
================
Comment at: lib/Support/Unix/Path.inc:553
@@ +552,3 @@
+namespace {
+ bool hasProcSelfFD() {
+ // If we have a /proc filesystem mounted, we can quickly establish the
----------------
Nice, I missed that it was used more than once. Please make hasProcSelfFD() static as well and move it inside llvm::sys::fs.
http://reviews.llvm.org/D19842
More information about the llvm-commits
mailing list