[compiler-rt] r178157 - tsan: fix lint warning
Dmitry Vyukov
dvyukov at google.com
Wed Mar 27 10:57:59 PDT 2013
Author: dvyukov
Date: Wed Mar 27 12:57:58 2013
New Revision: 178157
URL: http://llvm.org/viewvc/llvm-project?rev=178157&view=rev
Log:
tsan: fix lint warning
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h?rev=178157&r1=178156&r2=178157&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_procmaps.h Wed Mar 27 12:57:58 2013
@@ -22,7 +22,7 @@ namespace __sanitizer {
#if SANITIZER_WINDOWS
class MemoryMappingLayout {
public:
- MemoryMappingLayout(bool cache_enabled) {
+ explicit MemoryMappingLayout(bool cache_enabled) {
(void)cache_enabled;
}
bool GetObjectNameAndOffset(uptr addr, uptr *offset,
More information about the llvm-commits
mailing list