[llvm-commits] [compiler-rt] r157931 - in /compiler-rt/trunk/lib: asan/Makefile.old sanitizer_common/sanitizer_defs.h
Alexey Samsonov
samsonov at google.com
Mon Jun 4 07:35:10 PDT 2012
Author: samsonov
Date: Mon Jun 4 09:35:09 2012
New Revision: 157931
URL: http://llvm.org/viewvc/llvm-project?rev=157931&view=rev
Log:
[Sanitizer] Enable lint for sanitizer_common/
Modified:
compiler-rt/trunk/lib/asan/Makefile.old
compiler-rt/trunk/lib/sanitizer_common/sanitizer_defs.h
Modified: compiler-rt/trunk/lib/asan/Makefile.old
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/Makefile.old?rev=157931&r1=157930&r2=157931&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/Makefile.old (original)
+++ compiler-rt/trunk/lib/asan/Makefile.old Mon Jun 4 09:35:09 2012
@@ -332,6 +332,7 @@
third_party/cpplint/cpplint.py --filter=$(LLVM_LINT_FILTER) $(ADDRESS_SANITIZER_CPP)
third_party/cpplint/cpplint.py --filter=$(RTL_LINT_FITLER) asan_*.cc asan_*.h
third_party/cpplint/cpplint.py --filter=$(RTL_LINT_FITLER) $(INTERCEPTION)/interception*.h $(INTERCEPTION)/interception*.cc
+ third_party/cpplint/cpplint.py --filter=$(RTL_LINT_FITLER) $(COMMON)/sanitizer_*.h $(COMMON)/sanitizer_*.cc
third_party/cpplint/cpplint.py --filter=$(TEST_LINT_FITLER) tests/*.cc output_tests/*.cc
get_third_party:
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_defs.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_defs.h?rev=157931&r1=157930&r2=157931&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_defs.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_defs.h Mon Jun 4 09:35:09 2012
@@ -28,15 +28,15 @@
// For portability reasons we do not include stddef.h, stdint.h or any other
// system header, but we do need some basic types that are not defined
// in a portable way by the language itself.
-typedef unsigned long uptr;
-typedef signed long sptr;
+typedef unsigned long uptr; // NOLINT
+typedef signed long sptr; // NOLINT
typedef unsigned char u8;
-typedef unsigned short u16;
+typedef unsigned short u16; // NOLINT
typedef unsigned int u32;
-typedef unsigned long long u64;
+typedef unsigned long long u64; // NOLINT
typedef signed char s8;
-typedef signed short s16;
+typedef signed short s16; // NOLINT
typedef signed int s32;
-typedef signed long long s64;
+typedef signed long long s64; // NOLINT
#endif // SANITIZER_DEFS_H
More information about the llvm-commits
mailing list