Fix two compiler warnings

llvm-svn: 369522
This commit is contained in:
Pavel Labath 2019-08-21 13:11:30 +00:00
parent 006d22de50
commit 65a376f091
2 changed files with 3 additions and 1 deletions

View File

@ -37,6 +37,6 @@ public:
private:
DISALLOW_COPY_AND_ASSIGN(ClangDeclVendor);
};
}; // namespace lldb_private
} // namespace lldb_private
#endif

View File

@ -106,10 +106,12 @@ using namespace llvm;
using namespace clang;
namespace {
#ifdef LLDB_CONFIGURATION_DEBUG
static void VerifyDecl(clang::Decl *decl) {
assert(decl && "VerifyDecl called with nullptr?");
decl->getAccess();
}
#endif
static inline bool
ClangASTContextSupportsLanguage(lldb::LanguageType language) {