[llvm] r217685 - Move sys::fs::AccessMode out of @brief in the function. [-Wdocumentation]

NAKAMURA Takumi geek4civic at gmail.com
Fri Sep 12 08:12:33 PDT 2014


Author: chapuni
Date: Fri Sep 12 10:12:32 2014
New Revision: 217685

URL: http://llvm.org/viewvc/llvm-project?rev=217685&view=rev
Log:
Move sys::fs::AccessMode out of @brief in the function. [-Wdocumentation]

FIXME: Annotate sys::fs::AccessMode.

Modified:
    llvm/trunk/include/llvm/Support/FileSystem.h

Modified: llvm/trunk/include/llvm/Support/FileSystem.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/FileSystem.h?rev=217685&r1=217684&r2=217685&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/FileSystem.h (original)
+++ llvm/trunk/include/llvm/Support/FileSystem.h Fri Sep 12 10:12:32 2014
@@ -352,12 +352,13 @@ std::error_code resize_file(const Twine
 ///          not.
 bool exists(file_status status);
 
+enum class AccessMode { Exist, Write, Execute };
+
 /// @brief Can the file be accessed?
 ///
 /// @param Path Input path.
 /// @returns errc::success if the path can be accessed, otherwise a
 ///          platform-specific error_code.
-enum class AccessMode { Exist, Write, Execute };
 std::error_code access(const Twine &Path, AccessMode Mode);
 
 /// @brief Does file exist?





More information about the llvm-commits mailing list