[NFC][LLD] Specify namespaces explicity to fix build failure on GCC 5 after r357383
authorMatthew Voss <matthew.voss@sony.com>
Mon, 1 Apr 2019 19:23:56 +0000 (19:23 +0000)
committerMatthew Voss <matthew.voss@sony.com>
Mon, 1 Apr 2019 19:23:56 +0000 (19:23 +0000)
llvm-svn: 357421

lld/COFF/DebugTypes.cpp

index 1378c2f..34f32ea 100644 (file)
@@ -71,14 +71,18 @@ TpiSource *coff::makeUsePrecompSource(ObjFile *F, PrecompRecord *Precomp) {
   return new UsePrecompSource(F, Precomp);
 }
 
+namespace lld {
+namespace coff {
 template <>
-const PrecompRecord &lld::coff::retrieveDependencyInfo(TpiSource *Source) {
+const PrecompRecord &retrieveDependencyInfo(TpiSource *Source) {
   assert(Source->Kind == TpiSource::UsingPCH);
   return ((UsePrecompSource *)Source)->PrecompDependency;
 }
 
 template <>
-const TypeServer2Record &lld::coff::retrieveDependencyInfo(TpiSource *Source) {
+const TypeServer2Record &retrieveDependencyInfo(TpiSource *Source) {
   assert(Source->Kind == TpiSource::UsingPDB);
   return ((UseTypeServerSource *)Source)->TypeServerDependency;
-}
\ No newline at end of file
+}
+} // namespace coff
+} // namespace lld