I put the using only if I have to type the namespace more than once.  I can change the global using to be local, but I don't think it makes sense to either always put the using or never put it<br><div class="gmail_quote"><div dir="ltr">On Mon, Mar 6, 2017 at 3:59 AM Tamas Berghammer via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">tberghammer added a comment.<br class="gmail_msg">
<br class="gmail_msg">
Can you make the usage of "using namespace llvm::sys::fs;" a bit more consistent? Sometime you write fully qualified name, sometime you add it to the top of the file while sometime only to the function where it is used.<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
================<br class="gmail_msg">
Comment at: llvm/include/llvm/Support/FileSystem.h:482-486<br class="gmail_msg">
 /// @brief Does status represent a directory?<br class="gmail_msg">
 ///<br class="gmail_msg">
 /// @param status A file_status previously returned from status.<br class="gmail_msg">
 /// @returns status.type() == file_type::directory_file.<br class="gmail_msg">
+file_type get_file_type(const Twine &Path);<br class="gmail_msg">
----------------<br class="gmail_msg">
Please fix the comment<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<a href="https://reviews.llvm.org/D30624" rel="noreferrer" class="gmail_msg" target="_blank">https://reviews.llvm.org/D30624</a><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
</blockquote></div>