diff options
author | Pavel Labath <pavel@labath.sk> | 2019-08-21 13:11:30 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-08-21 13:11:30 +0000 |
commit | 65a376f091eaaed3c10b2c5c2dfb3c1a61fb996b (patch) | |
tree | baf0abd3b3aab3d08fc4f44d51f3d468e5a049c6 | |
parent | 006d22de508d18af93899c5ab32651681f816575 (diff) | |
download | bcm5719-llvm-65a376f091eaaed3c10b2c5c2dfb3c1a61fb996b.tar.gz bcm5719-llvm-65a376f091eaaed3c10b2c5c2dfb3c1a61fb996b.zip |
Fix two compiler warnings
llvm-svn: 369522
-rw-r--r-- | lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h | 2 | ||||
-rw-r--r-- | lldb/source/Symbol/ClangASTContext.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h b/lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h index 767a53b7d27..afeb5ce9fe6 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h @@ -37,6 +37,6 @@ public: private: DISALLOW_COPY_AND_ASSIGN(ClangDeclVendor); }; -}; // namespace lldb_private +} // namespace lldb_private #endif diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp index 6d8901e1a9d..dbef32c02eb 100644 --- a/lldb/source/Symbol/ClangASTContext.cpp +++ b/lldb/source/Symbol/ClangASTContext.cpp @@ -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) { |