diff options
author | Vitaly Buka <vitalybuka@google.com> | 2017-09-11 20:55:49 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2017-09-11 20:55:49 +0000 |
commit | 2b6ced66bed1cc077d06664ef6bf9242e7d0fd6d (patch) | |
tree | d58d62c67cd0efdb1ab9cac6eefd12881b5cb0a3 /lib/asan/asan_descriptions.h | |
parent | 234cf084c21166521803aff655a89cf10806b656 (diff) |
[compiler-rt] Cleanup decorators
Summary:
Removed redundant End*() methods which defined same way.
Removed redundant Warning() methods.
Reviewers: eugenis
Subscribers: kubamracek, llvm-commits, dberris
Differential Revision: https://reviews.llvm.org/D37549
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@312950 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_descriptions.h')
-rw-r--r-- | lib/asan/asan_descriptions.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/asan/asan_descriptions.h b/lib/asan/asan_descriptions.h index 0ee677eb7..5161715df 100644 --- a/lib/asan/asan_descriptions.h +++ b/lib/asan/asan_descriptions.h @@ -34,11 +34,8 @@ class Decorator : public __sanitizer::SanitizerCommonDecorator { public: Decorator() : SanitizerCommonDecorator() {} const char *Access() { return Blue(); } - const char *EndAccess() { return Default(); } const char *Location() { return Green(); } - const char *EndLocation() { return Default(); } const char *Allocation() { return Magenta(); } - const char *EndAllocation() { return Default(); } const char *ShadowByte(u8 byte) { switch (byte) { @@ -72,9 +69,7 @@ class Decorator : public __sanitizer::SanitizerCommonDecorator { return Default(); } } - const char *EndShadowByte() { return Default(); } const char *MemoryByte() { return Magenta(); } - const char *EndMemoryByte() { return Default(); } }; enum ShadowKind : u8 { |