[CodeView] Use None instead of Void if there is no subprogram

llvm-svn: 271566
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
index ba0c7ca..34b322f 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
@@ -126,7 +126,7 @@
   // It's possible to ask for the FuncId of a function which doesn't have a
   // subprogram: inlining a function with debug info into a function with none.
   if (!SP)
-    return TypeIndex::Void();
+    return TypeIndex::None();
 
   // Check if we've already translated this subprogram.
   auto I = TypeIndices.find(SP);