summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_bitvector.h
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-02-26 20:33:22 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-02-26 20:33:22 +0000
commit0fc6894b9ebf39eaf0f06712815c0b705dbc2624 (patch)
tree7799c19ee9a43a40fa2533d8432c7048301f8845 /lib/sanitizer_common/sanitizer_bitvector.h
parent16fc5c924d3b984288a689c967dfc2c35ac8bc22 (diff)
Reapply r201910. MSVC gets __func__ defined explicitly, even though it
can't build anything here. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202297 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_bitvector.h')
-rw-r--r--lib/sanitizer_common/sanitizer_bitvector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sanitizer_common/sanitizer_bitvector.h b/lib/sanitizer_common/sanitizer_bitvector.h
index d16205a7c..48aeabd44 100644
--- a/lib/sanitizer_common/sanitizer_bitvector.h
+++ b/lib/sanitizer_common/sanitizer_bitvector.h
@@ -149,7 +149,7 @@ class TwoLevelBitVector {
l2_[i0][i1].clear();
}
bool res = l2_[i0][i1].setBit(i2);
- // Printf("%s: %zd => %zd %zd %zd; %d\n", __FUNCTION__,
+ // Printf("%s: %zd => %zd %zd %zd; %d\n", __func__,
// idx, i0, i1, i2, res);
return res;
}
@@ -173,7 +173,7 @@ class TwoLevelBitVector {
uptr i0 = idx0(idx);
uptr i1 = idx1(idx);
uptr i2 = idx2(idx);
- // Printf("%s: %zd => %zd %zd %zd\n", __FUNCTION__, idx, i0, i1, i2);
+ // Printf("%s: %zd => %zd %zd %zd\n", __func__, idx, i0, i1, i2);
return l1_[i0].getBit(i1) && l2_[i0][i1].getBit(i2);
}