summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_internal_defs.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-09-11 10:31:28 +0000
committerAlexey Samsonov <samsonov@google.com>2012-09-11 10:31:28 +0000
commitd7ed1f09f316628b2d981a1d8c2cf0f5af30e90e (patch)
treeb247ea14084ec3c876b9de6df6c52ebe8de67c9c /lib/sanitizer_common/sanitizer_internal_defs.h
parent70a7095e37289746fd20595457d517faf66dc6a4 (diff)
[Sanitizer] fix warnings reported by gcc. Update the list of targets to check lint for
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_internal_defs.h')
-rw-r--r--lib/sanitizer_common/sanitizer_internal_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_internal_defs.h b/lib/sanitizer_common/sanitizer_internal_defs.h
index 5d00cd04b..6fdbd9758 100644
--- a/lib/sanitizer_common/sanitizer_internal_defs.h
+++ b/lib/sanitizer_common/sanitizer_internal_defs.h
@@ -138,7 +138,7 @@ void NORETURN CheckFailed(const char *file, int line, const char *cond,
#define IMPL_PASTE(a, b) a##b
#define IMPL_COMPILER_ASSERT(pred, line) \
- typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1];
+ typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
// Limits for integral types. We have to redefine it in case we don't
// have stdint.h (like in Visual Studio 9).