From: Vassil Vassilev Date: Thu, 2 Mar 2017 18:13:19 +0000 (+0000) Subject: Mark function as llvm dump method. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e19047000e89126be3e8a505bc6735e351af9ec;p=clang Mark function as llvm dump method. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296779 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Serialization/ASTReader.cpp b/lib/Serialization/ASTReader.cpp index 3ec009afaa..fc23e4f775 100644 --- a/lib/Serialization/ASTReader.cpp +++ b/lib/Serialization/ASTReader.cpp @@ -6523,12 +6523,6 @@ Decl *ASTReader::GetExternalDecl(uint32_t ID) { return GetDecl(ID); } -template -static void completeRedeclChainForTemplateSpecialization(Decl *D) { - if (auto *TSD = dyn_cast(D)) - TSD->getSpecializedTemplate()->LoadLazySpecializations(); -} - void ASTReader::CompleteRedeclChain(const Decl *D) { if (NumCurrentElementsDeserializing) { // We arrange to not care about the complete redeclaration chain while we're @@ -7151,7 +7145,7 @@ void ASTReader::PrintStats() { } template -static void +LLVM_DUMP_METHOD static void dumpModuleIDMap(StringRef Name, const ContinuousRangeMap &Map) {