diff options
| author | Alexey Samsonov <samsonov@google.com> | 2012-06-05 14:05:09 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2012-06-05 14:05:09 +0000 |
| commit | 8602c65719bc22a7dd7a71bac74ffc0ff7d12cfb (patch) | |
| tree | bc7ec9f1e7d91a3377c3c394368ba4d4f4e1c5ae /compiler-rt/lib/asan | |
| parent | ef2e2cfd3325fb9bbd696bc928322f96cb8b1971 (diff) | |
| download | bcm5719-llvm-8602c65719bc22a7dd7a71bac74ffc0ff7d12cfb.tar.gz bcm5719-llvm-8602c65719bc22a7dd7a71bac74ffc0ff7d12cfb.zip | |
[Sanitizer] remove using namespace __sanitizer lines
llvm-svn: 157999
Diffstat (limited to 'compiler-rt/lib/asan')
| -rw-r--r-- | compiler-rt/lib/asan/asan_interceptors.cc | 2 | ||||
| -rw-r--r-- | compiler-rt/lib/asan/asan_internal.h | 2 | ||||
| -rw-r--r-- | compiler-rt/lib/asan/asan_linux.cc | 2 | ||||
| -rw-r--r-- | compiler-rt/lib/asan/asan_mac.cc | 2 | ||||
| -rw-r--r-- | compiler-rt/lib/asan/asan_posix.cc | 2 | ||||
| -rw-r--r-- | compiler-rt/lib/asan/asan_printf.cc | 2 | ||||
| -rw-r--r-- | compiler-rt/lib/asan/asan_rtl.cc | 1 | ||||
| -rw-r--r-- | compiler-rt/lib/asan/asan_stack.cc | 2 |
8 files changed, 0 insertions, 15 deletions
diff --git a/compiler-rt/lib/asan/asan_interceptors.cc b/compiler-rt/lib/asan/asan_interceptors.cc index 63ae5799e25..7797f99aee4 100644 --- a/compiler-rt/lib/asan/asan_interceptors.cc +++ b/compiler-rt/lib/asan/asan_interceptors.cc @@ -23,8 +23,6 @@ #include "interception/interception.h" #include "sanitizer_common/sanitizer_libc.h" -using namespace __sanitizer; // NOLINT - // Use macro to describe if specific function should be // intercepted on a given platform. #if !defined(_WIN32) diff --git a/compiler-rt/lib/asan/asan_internal.h b/compiler-rt/lib/asan/asan_internal.h index a70a1e67afb..c242c973fec 100644 --- a/compiler-rt/lib/asan/asan_internal.h +++ b/compiler-rt/lib/asan/asan_internal.h @@ -17,8 +17,6 @@ #include "sanitizer_common/sanitizer_defs.h" #include "sanitizer_common/sanitizer_libc.h" -using namespace __sanitizer; // NOLINT - #if !defined(__linux__) && !defined(__APPLE__) && !defined(_WIN32) # error "This operating system is not supported by AddressSanitizer" #endif diff --git a/compiler-rt/lib/asan/asan_linux.cc b/compiler-rt/lib/asan/asan_linux.cc index ee356edd698..87ff8317895 100644 --- a/compiler-rt/lib/asan/asan_linux.cc +++ b/compiler-rt/lib/asan/asan_linux.cc @@ -36,8 +36,6 @@ #include <sys/ucontext.h> #endif -using namespace __sanitizer; // NOLINT - extern "C" void* _DYNAMIC; namespace __asan { diff --git a/compiler-rt/lib/asan/asan_mac.cc b/compiler-rt/lib/asan/asan_mac.cc index 636ed73c124..d807778fa7e 100644 --- a/compiler-rt/lib/asan/asan_mac.cc +++ b/compiler-rt/lib/asan/asan_mac.cc @@ -36,8 +36,6 @@ #include <libkern/OSAtomic.h> #include <CoreFoundation/CFString.h> -using namespace __sanitizer; // NOLINT - namespace __asan { void GetPcSpBp(void *context, uptr *pc, uptr *sp, uptr *bp) { diff --git a/compiler-rt/lib/asan/asan_posix.cc b/compiler-rt/lib/asan/asan_posix.cc index 14f172df1ec..41b59dd5d93 100644 --- a/compiler-rt/lib/asan/asan_posix.cc +++ b/compiler-rt/lib/asan/asan_posix.cc @@ -36,8 +36,6 @@ // since most of the stuff here is inlinable. #include <algorithm> -using namespace __sanitizer; - static const uptr kAltStackSize = SIGSTKSZ * 4; // SIGSTKSZ is not enough. namespace __asan { diff --git a/compiler-rt/lib/asan/asan_printf.cc b/compiler-rt/lib/asan/asan_printf.cc index af48bba91bf..be94fd8f508 100644 --- a/compiler-rt/lib/asan/asan_printf.cc +++ b/compiler-rt/lib/asan/asan_printf.cc @@ -21,8 +21,6 @@ #include <stdarg.h> #include <stdio.h> -using namespace __sanitizer; // NOLINT - namespace __asan { extern char *error_message_buffer; diff --git a/compiler-rt/lib/asan/asan_rtl.cc b/compiler-rt/lib/asan/asan_rtl.cc index af132e9407d..9c8201c18ba 100644 --- a/compiler-rt/lib/asan/asan_rtl.cc +++ b/compiler-rt/lib/asan/asan_rtl.cc @@ -24,7 +24,6 @@ #include "sanitizer_common/sanitizer_libc.h" namespace __asan { -using namespace __sanitizer; // -------------------------- Flags ------------------------- {{{1 static const uptr kMallocContextSize = 30; diff --git a/compiler-rt/lib/asan/asan_stack.cc b/compiler-rt/lib/asan/asan_stack.cc index ac9f6dda4a5..4ec330d5f67 100644 --- a/compiler-rt/lib/asan/asan_stack.cc +++ b/compiler-rt/lib/asan/asan_stack.cc @@ -19,8 +19,6 @@ #include "asan_thread_registry.h" #include "sanitizer_common/sanitizer_symbolizer.h" -using namespace __sanitizer; // NOLINT - #ifdef ASAN_USE_EXTERNAL_SYMBOLIZER extern bool ASAN_USE_EXTERNAL_SYMBOLIZER(const void *pc, char *out, int out_size); |

