diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2016-06-02 18:51:24 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2016-06-02 18:51:24 +0000 |
| commit | b68f32f0cfafc65da323511948aef8dedf6eceaa (patch) | |
| tree | 6df4d21738956e0f1655d86fae76609b79daf759 /llvm/lib/DebugInfo/CodeView | |
| parent | 1cc17a3e7c779353cde2baa5ffe6d2fd81b50a88 (diff) | |
| download | bcm5719-llvm-b68f32f0cfafc65da323511948aef8dedf6eceaa.tar.gz bcm5719-llvm-b68f32f0cfafc65da323511948aef8dedf6eceaa.zip | |
[CodeView] Use None instead of Void if there is no subprogram
llvm-svn: 271566
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView')
| -rw-r--r-- | llvm/lib/DebugInfo/CodeView/TypeDumper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/TypeDumper.cpp b/llvm/lib/DebugInfo/CodeView/TypeDumper.cpp index d27ef494202..2080a63d8bc 100644 --- a/llvm/lib/DebugInfo/CodeView/TypeDumper.cpp +++ b/llvm/lib/DebugInfo/CodeView/TypeDumper.cpp @@ -641,7 +641,7 @@ void CVTypeDumperImpl::visitVirtualBaseClass(TypeLeafKind Leaf, } StringRef CVTypeDumper::getTypeName(TypeIndex TI) { - if (TI.isNoType()) + if (TI.isNoneType()) return "<no type>"; if (TI.isSimple()) { @@ -669,7 +669,7 @@ StringRef CVTypeDumper::getTypeName(TypeIndex TI) { void CVTypeDumper::printTypeIndex(StringRef FieldName, TypeIndex TI) { StringRef TypeName; - if (!TI.isNoType()) + if (!TI.isNoneType()) TypeName = getTypeName(TI); if (!TypeName.empty()) W->printHex(FieldName, TypeName, TI.getIndex()); |

