poly_int: get_binfo_at_offset
[official-gcc.git] / libsanitizer / sanitizer_common / sanitizer_placement_new.h
blob7231e96878db7162f9af26f91a2410425cc8bfff
1 //===-- sanitizer_placement_new.h -------------------------------*- C++ -*-===//
2 //
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
5 //
6 //===----------------------------------------------------------------------===//
7 //
8 // This file is shared between AddressSanitizer and ThreadSanitizer
9 // run-time libraries.
11 // The file provides 'placement new'.
12 // Do not include it into header files, only into source files.
13 //===----------------------------------------------------------------------===//
14 #ifndef SANITIZER_PLACEMENT_NEW_H
15 #define SANITIZER_PLACEMENT_NEW_H
17 #include "sanitizer_internal_defs.h"
19 inline void *operator new(__sanitizer::operator_new_size_type sz, void *p) {
20 return p;
23 #endif // SANITIZER_PLACEMENT_NEW_H