summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/Native
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2017-08-20 13:03:48 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2017-08-20 13:03:48 +0000
commit49a49fe816122f9bc4cf8f909e0bc24aa84ea4ce (patch)
treef67fcbe4d22d0268902ea501339f083eab383c62 /llvm/lib/DebugInfo/PDB/Native
parentdf8c2628ac6778024d6b99484bb94fd77e466d0e (diff)
downloadbcm5719-llvm-49a49fe816122f9bc4cf8f909e0bc24aa84ea4ce.tar.gz
bcm5719-llvm-49a49fe816122f9bc4cf8f909e0bc24aa84ea4ce.zip
Move helper classes into anonymous namespaces.
No functionality change intended. llvm-svn: 311288
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native')
-rw-r--r--llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp b/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
index 7c88748da80..dd41202e346 100644
--- a/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
@@ -169,7 +169,7 @@ Error GSIStreamBuilder::finalizeMsfLayout() {
return Error::success();
}
-bool comparePubSymByAddrAndName(const CVSymbol *LS, const CVSymbol *RS) {
+static bool comparePubSymByAddrAndName(const CVSymbol *LS, const CVSymbol *RS) {
assert(LS->kind() == SymbolKind::S_PUB32);
assert(RS->kind() == SymbolKind::S_PUB32);
OpenPOWER on IntegriCloud