Add UNUSED_IF_ASSERT_DISABLED and apply it.
authorBruce Mitchener <bruce.mitchener@gmail.com>
Fri, 24 Jul 2015 00:23:29 +0000 (00:23 +0000)
committerBruce Mitchener <bruce.mitchener@gmail.com>
Fri, 24 Jul 2015 00:23:29 +0000 (00:23 +0000)
commit8a67bf72984123302da6521d66a51f9c09a9504b
tree2dd1b32dd9de2d739c8dd947b546764dc28d1ef6
parentff8fbf9f90540478663bcd02f42a2fa30cfed543
Add UNUSED_IF_ASSERT_DISABLED and apply it.

Summary:
This replaces (void)x; usages where they x was subsequently
involved in an assertion with this macro to make the
intent more clear.

Reviewers: clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D11451

llvm-svn: 243074
15 files changed:
lldb/include/lldb/lldb-defines.h
lldb/source/Host/posix/MainLoopPosix.cpp
lldb/source/Interpreter/CommandInterpreter.cpp
lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
lldb/source/Symbol/ClangASTImporter.cpp
lldb/source/Target/Process.cpp
lldb/tools/debugserver/source/DNB.cpp
lldb/tools/debugserver/source/DNBDefs.h
lldb/tools/debugserver/source/MacOSX/MachProcess.mm
lldb/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp
lldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp
lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp