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

Volodymyr Sapsai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 18 16:27:57 PDT 2018


vsapsai added inline comments.


================
Comment at: clang/lib/Basic/VirtualFileSystem.cpp:1416
+        if (NameValueNode)
+          error(NameValueNode, "file is not located in any directory");
+        return nullptr;
----------------
Not happy with the error message but didn't come up with anything better. Suggestions are welcome.


https://reviews.llvm.org/D49518





More information about the cfe-commits mailing list