From: Simon Pilgrim Date: Mon, 19 Apr 2021 13:07:01 +0000 (+0100) Subject: [Support] Memory.h - remove unnecessary include. NFCI. X-Git-Tag: llvmorg-14-init~9212 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b02de173b2475fc70a4e88983886380403d297e;p=platform%2Fupstream%2Fllvm.git [Support] Memory.h - remove unnecessary include. NFCI. protectMappedMemory no longer returns an error message, so we don't need std::string - I've fixed an unnecessary doxygen entry as well (oddly I wasn't seeing a Wdocumentation warning) --- diff --git a/llvm/include/llvm/Support/Memory.h b/llvm/include/llvm/Support/Memory.h index c045422..31e0abb 100644 --- a/llvm/include/llvm/Support/Memory.h +++ b/llvm/include/llvm/Support/Memory.h @@ -14,7 +14,6 @@ #define LLVM_SUPPORT_MEMORY_H #include "llvm/Support/DataTypes.h" -#include #include namespace llvm { @@ -116,7 +115,6 @@ namespace sys { /// memory was not allocated using the allocateMappedMemory method. /// \p Block describes the memory block to be protected. /// \p Flags specifies the new protection state to be assigned to the block. - /// \p ErrMsg [out] returns a string describing any error that occurred. /// /// If \p Flags is MF_WRITE, the actual behavior varies /// with the operating system (i.e. MF_READ | MF_WRITE on Windows) and the