[compiler-rt] r349666 - [sanitizer] Remove spurious semi-colon
Kostya Kortchinsky via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 19 11:05:30 PST 2018
Author: cryptoad
Date: Wed Dec 19 11:05:29 2018
New Revision: 349666
URL: http://llvm.org/viewvc/llvm-project?rev=349666&view=rev
Log:
[sanitizer] Remove spurious semi-colon
Summary:
An extra ';' at the end of a namespace triggers a pedantic warning:
```
.../sanitizer_common/sanitizer_type_traits.h:42:2: warning: extra ‘;’ [-Wpedantic]
}; // namespace __sanitizer
```
Reviewers: eugenis, delcypher
Reviewed By: eugenis
Subscribers: kubamracek, #sanitizers, llvm-commits
Differential Revision: https://reviews.llvm.org/D55849
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_type_traits.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_type_traits.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_type_traits.h?rev=349666&r1=349665&r2=349666&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_type_traits.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_type_traits.h Wed Dec 19 11:05:29 2018
@@ -39,6 +39,6 @@ struct is_same : public false_type {};
template <typename T>
struct is_same<T, T> : public true_type {};
-}; // namespace __sanitizer
+} // namespace __sanitizer
#endif
More information about the llvm-commits
mailing list