diff options
| author | 2022-07-20 08:56:12 +0000 | |
|---|---|---|
| committer | 2022-07-20 12:48:38 +0000 | |
| commit | 92e70bd8639c0d65518f519ecb250f004c5d8d3d (patch) | |
| tree | db7e6ebfa040337c94dec8fd885ef474363ede20 /runtime/gc/allocator/art-dlmalloc.cc | |
| parent | 59f2219794e9fa9059876c4eea8fc3107dd804be (diff) | |
Remove comments for dlmalloc inclusions
Removing comments when including dlmalloc, as they can be mistaken
for the explanation of why the NOLINT directive was needed, especially
when including dlmalloc.c (clang-tidy would report a violation of
the bugprone-suspicious-include check, which has nothing to do with
the fact that it's included from external/dlmalloc).
Test: m
Change-Id: I6bd0ea3b266da52f4d151a358a2945cadd2c5c60
Diffstat (limited to 'runtime/gc/allocator/art-dlmalloc.cc')
| -rw-r--r-- | runtime/gc/allocator/art-dlmalloc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/allocator/art-dlmalloc.cc b/runtime/gc/allocator/art-dlmalloc.cc index e2dda707ae..3340b21f51 100644 --- a/runtime/gc/allocator/art-dlmalloc.cc +++ b/runtime/gc/allocator/art-dlmalloc.cc @@ -39,7 +39,7 @@ static void art_heap_usage_error(const char* function, void* p); #pragma GCC diagnostic ignored "-Wstrict-aliasing" #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" #pragma GCC diagnostic ignored "-Wexpansion-to-defined" -#include "dlmalloc.c" // NOLINT - from external/dlmalloc +#include "dlmalloc.c" // Note: dlmalloc.c uses a DEBUG define to drive debug code. This interferes with the DEBUG severity // of libbase, so undefine it now. #undef DEBUG |