diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h index 2bd36c042d4..4acff6623d7 100644 --- a/include/llvm/Support/FileSystem.h +++ b/include/llvm/Support/FileSystem.h @@ -336,8 +336,8 @@ std::error_code copy_file(const Twine &From, const Twine &To); /// @brief Resize path to size. File is resized as if by POSIX truncate(). /// -/// @param path Input file descriptor. -/// @param size Size to resize to. +/// @param FD Input file descriptor. +/// @param Size Size to resize to. /// @returns errc::success if \a path has been resized to \a size, otherwise a /// platform-specific error_code. std::error_code resize_file(int FD, uint64_t Size); diff --git a/tools/dsymutil/DebugMap.h b/tools/dsymutil/DebugMap.h index d4b9751dc91..d563fa4516b 100644 --- a/tools/dsymutil/DebugMap.h +++ b/tools/dsymutil/DebugMap.h @@ -104,7 +104,7 @@ public: bool addSymbol(llvm::StringRef SymName, uint64_t ObjectAddress, uint64_t LinkedAddress); - /// \bried Lookup a symbol mapping. + /// \brief Lookup a symbol mapping. /// \returns null if the symbol isn't found. const SymbolMapping *lookupSymbol(StringRef SymbolName) const;