summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/COFF/DebugTypes.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/lld/COFF/DebugTypes.cpp b/lld/COFF/DebugTypes.cpp
index 1378c2fe087..34f32ea085c 100644
--- a/lld/COFF/DebugTypes.cpp
+++ b/lld/COFF/DebugTypes.cpp
@@ -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
OpenPOWER on IntegriCloud