]> granicus.if.org Git - clang/commitdiff
[MS-ABI] Silence warning from r209523
authorWarren Hunt <whunt@google.com>
Fri, 23 May 2014 16:26:32 +0000 (16:26 +0000)
committerWarren Hunt <whunt@google.com>
Fri, 23 May 2014 16:26:32 +0000 (16:26 +0000)
no functional change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209525 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MicrosoftRTTI.cpp

index bd4789733a50071165864d783a0ccf240742df22..0eb8100af56f070eeb9afab04f6917d946cce4b0 100644 (file)
@@ -52,7 +52,7 @@ using namespace CodeGen;
 //   mangled into them so they can be aggressively deduplicated by the linker.
 
 // 5 routines for constructing the llvm types for MS RTTI structs.
-llvm::StructType *getClassHierarchyDescriptorType(CodeGenModule &CGM);
+static llvm::StructType *getClassHierarchyDescriptorType(CodeGenModule &CGM);
 
 static llvm::StructType *getTypeDescriptorType(CodeGenModule &CGM,
                                                StringRef TypeInfoString) {