[NFC][hwasan] Do not include sanitizer_placement_new.h in header files (#82993)

Do not include sanitizer_placement_new.h into header files, only into
source files.
This commit is contained in:
Enna1 2024-02-27 07:45:06 +08:00 committed by GitHub
parent 056d62be38
commit 371e6d0f24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@
#include "sanitizer_common/sanitizer_flags.h"
#include "sanitizer_common/sanitizer_internal_defs.h"
#include "sanitizer_common/sanitizer_mutex.h"
#include "sanitizer_common/sanitizer_placement_new.h"
#include "sanitizer_common/sanitizer_report_decorator.h"
#include "sanitizer_common/sanitizer_stackdepot.h"
#include "sanitizer_common/sanitizer_stacktrace_printer.h"

View File

@ -1,5 +1,6 @@
#include "hwasan_thread_list.h"
#include "sanitizer_common/sanitizer_placement_new.h"
#include "sanitizer_common/sanitizer_thread_arg_retval.h"
namespace __hwasan {

View File

@ -47,7 +47,6 @@
#include "hwasan_allocator.h"
#include "hwasan_flags.h"
#include "hwasan_thread.h"
#include "sanitizer_common/sanitizer_placement_new.h"
#include "sanitizer_common/sanitizer_thread_arg_retval.h"
namespace __hwasan {