From 3b02de173b2475fc70a4e88983886380403d297e Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Mon, 19 Apr 2021 14:07:01 +0100 Subject: [PATCH] [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) --- llvm/include/llvm/Support/Memory.h | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.7.4