summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-07 05:03:47 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-07 05:03:47 +0000
commit1c0844bdfbe047770b116bd9fc56b5eefcd60852 (patch)
tree8fb9865d515098c9debefd60dd09866233f59f06 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
parent8a4569bd2bba95cfa0f805c647d24052dc99c2d6 (diff)
downloadbcm5719-llvm-1c0844bdfbe047770b116bd9fc56b5eefcd60852.tar.gz
bcm5719-llvm-1c0844bdfbe047770b116bd9fc56b5eefcd60852.zip
Try a third time to fix MSVC build after r234290
I have no idea what MSVC means with its error text here :(. http://lab.llvm.org:8011/builders/sanitizer-windows/builds/2310 llvm-svn: 234295
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
index dadc9ba59a2..253010c6443 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
@@ -1015,11 +1015,11 @@ void DwarfUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
// Add return type. A void return won't have a type.
auto Elements = cast<MDSubroutineType>(CTy)->getTypeArray();
if (Elements.size())
- if (MDType *RTy = resolve(DITypeRef(Elements[0])))
+ if (MDType *RTy = resolve(DITypeRef(Elements[0u])))
addType(Buffer, RTy);
bool isPrototyped = true;
- if (Elements.size() == 2 && !DITypeRef(Elements[1]))
+ if (Elements.size() == 2 && !DITypeRef(Elements[1u]))
isPrototyped = false;
constructSubprogramArguments(Buffer, Elements);
@@ -1318,7 +1318,7 @@ void DwarfUnit::applySubprogramAttributes(DISubprogram SP, DIE &SPDie,
// Add a return type. If this is a type like a C/C++ void type we don't add a
// return type.
if (Args.size())
- if (MDType *Ty = resolve(DITypeRef(Args[0])))
+ if (MDType *Ty = resolve(DITypeRef(Args[0u])))
addType(SPDie, Ty);
unsigned VK = SP.getVirtuality();
OpenPOWER on IntegriCloud