Author: Raphael Isemann Date: 2019-12-10T13:46:12+01:00 New Revision: e9895c612a5a331660020172affa927664e138ad
URL: https://github.com/llvm/llvm-project/commit/e9895c612a5a331660020172affa927664e138ad DIFF: https://github.com/llvm/llvm-project/commit/e9895c612a5a331660020172affa927664e138ad.diff LOG: [lldb][NFC] Make g_TotalSizeOfMetadata in ClangExternalASTSourceCommon.cpp static Clang was warning that this global should be static (which makes sense). Added: Modified: lldb/source/Symbol/ClangExternalASTSourceCommon.cpp Removed: ################################################################################ diff --git a/lldb/source/Symbol/ClangExternalASTSourceCommon.cpp b/lldb/source/Symbol/ClangExternalASTSourceCommon.cpp index 3dcf9051d0a4..2309bc60d617 100644 --- a/lldb/source/Symbol/ClangExternalASTSourceCommon.cpp +++ b/lldb/source/Symbol/ClangExternalASTSourceCommon.cpp @@ -13,7 +13,7 @@ using namespace lldb_private; -uint64_t g_TotalSizeOfMetadata = 0; +static uint64_t g_TotalSizeOfMetadata = 0; typedef llvm::DenseMap<clang::ExternalASTSource *, ClangExternalASTSourceCommon *> _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits