diff --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp --- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp +++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp @@ -89,11 +89,6 @@ namespace { static void VerifyDecl(clang::Decl *decl) { assert(decl && "VerifyDecl called with nullptr?"); -#ifndef NDEBUG - // We don't care about the actual access value here but only want to trigger - // that Clang calls its internal Decl::AccessDeclContextSanity check. - decl->getAccess(); -#endif } static inline bool