[PATCH] D19843: Use the name of the file on disk to issue a new diagnostic about non-portable #include and #import paths.

Eric Niebler via cfe-commits cfe-commits at lists.llvm.org
Wed May 18 11:40:07 PDT 2016


eric_niebler added inline comments.

================
Comment at: include/clang/Basic/VirtualFileSystem.h:97
@@ +96,3 @@
+      return Status->getName();
+    else
+      return Status.getError();
----------------
curdeius wrote:
> No else needed after return.
But then `Status` is not in scope.


http://reviews.llvm.org/D19843





More information about the cfe-commits mailing list