[llvm-commits] [compiler-rt] r158706 - /compiler-rt/trunk/lib/sanitizer_common/sanitizer_placement_new.h
Alexey Samsonov
samsonov at google.com
Tue Jun 19 00:40:46 PDT 2012
Author: samsonov
Date: Tue Jun 19 02:40:45 2012
New Revision: 158706
URL: http://llvm.org/viewvc/llvm-project?rev=158706&view=rev
Log:
[Sanitizer] use fully qualified type for placement new replacement
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_placement_new.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_placement_new.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_placement_new.h?rev=158706&r1=158705&r2=158706&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_placement_new.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_placement_new.h Tue Jun 19 02:40:45 2012
@@ -20,13 +20,13 @@
namespace __sanitizer {
#if (__WORDSIZE == 64) || defined(__APPLE__)
-typedef __sanitizer::uptr operator_new_ptr_type;
+typedef uptr operator_new_ptr_type;
#else
-typedef __sanitizer::u32 operator_new_ptr_type;
+typedef u32 operator_new_ptr_type;
#endif
} // namespace __sanitizer
-inline void *operator new(operator_new_ptr_type sz, void *p) {
+inline void *operator new(__sanitizer::operator_new_ptr_type sz, void *p) {
return p;
}
More information about the llvm-commits
mailing list