[Lldb-commits] [lldb] e9895c6 - [lldb][NFC] Make g_TotalSizeOfMetadata in ClangExternalASTSourceCommon.cpp static
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 10 04:46:52 PST 2019
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 *>
More information about the lldb-commits
mailing list