Finish bringing file_type to the llvm style (other than its name).
[oota-llvm.git] / include / llvm / Support / FileSystem.h
index a87011c9bd90c5b7be1ade3c3b9e07a19a8bac31..032b5bef6a88938d1fcd5ce5af5d66f0eb150ac7 100644 (file)
@@ -49,10 +49,9 @@ namespace llvm {
 namespace sys {
 namespace fs {
 
-/// file_type - An "enum class" enumeration for the file system's view of the
-///             type.
+/// An "enum class" enumeration for the file system's view of the type.
 struct file_type {
-  enum _ {
+  enum Impl {
     status_error,
     file_not_found,
     regular_file,
@@ -65,11 +64,11 @@ struct file_type {
     type_unknown
   };
 
-  file_type(_ v) : v_(v) {}
-  operator _() const {return v_;}
+  file_type(Impl V) : V(V) {}
+  operator Impl() const { return V; }
 
 private:
-  _ v_;
+  Impl V;
 };
 
 /// space_info - Self explanatory.