aboutsummaryrefslogtreecommitdiff
path: root/contrib/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h')
-rw-r--r--contrib/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/contrib/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h b/contrib/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h
deleted file mode 100644
index 8904d1040ea7..000000000000
--- a/contrib/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h
+++ /dev/null
@@ -1,25 +0,0 @@
-//===-- sanitizer_placement_new.h -------------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file is shared between AddressSanitizer and ThreadSanitizer
-// run-time libraries.
-//
-// The file provides 'placement new'.
-// Do not include it into header files, only into source files.
-//===----------------------------------------------------------------------===//
-#ifndef SANITIZER_PLACEMENT_NEW_H
-#define SANITIZER_PLACEMENT_NEW_H
-
-#include "sanitizer_internal_defs.h"
-
-inline void *operator new(__sanitizer::operator_new_size_type sz, void *p) {
- return p;
-}
-
-#endif // SANITIZER_PLACEMENT_NEW_H