aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/clang_wrapper.py
diff options
context:
space:
mode:
authorrnefyodov <rnefyodov@yandex-team.ru>2022-02-10 16:47:17 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:17 +0300
commitc753751b693cf7c481c0292912e2b7536fa6d36a (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /build/scripts/clang_wrapper.py
parentc22320e8c4f3d7be38c504706f137034e91d31e6 (diff)
downloadydb-c753751b693cf7c481c0292912e2b7536fa6d36a.tar.gz
Restoring authorship annotation for <rnefyodov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/scripts/clang_wrapper.py')
-rw-r--r--build/scripts/clang_wrapper.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/scripts/clang_wrapper.py b/build/scripts/clang_wrapper.py
index fb34497567..af3869f789 100644
--- a/build/scripts/clang_wrapper.py
+++ b/build/scripts/clang_wrapper.py
@@ -3,12 +3,12 @@ import sys
def fix(s):
- # disable dbg DEVTOOLS-2744
- if s == '-g':
- return None
+ # disable dbg DEVTOOLS-2744
+ if s == '-g':
+ return None
if s == '/Z7' or s == '/Od' or s == '/Ob0' or s == '/D_DEBUG':
return None
-
+
# disable sanitizers for generated code
if s.startswith('-fsanitize') or s == '-Dmemory_sanitizer_enabled' or s.startswith('-fsanitize-blacklist'):
return None