[PATCH] D49518: [VFS] Emit an error when a file isn't located in any directory.

Bruno Cardoso Lopes via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 7 11:11:50 PDT 2018


bruno accepted this revision.
bruno added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: clang/lib/Basic/VirtualFileSystem.cpp:1391
+      error(NameValueNode,
+            "entry with relative path at the root level is not discoverable");
+      return nullptr;
----------------
Reads better :)


https://reviews.llvm.org/D49518





More information about the cfe-commits mailing list