summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Transforms/Utils
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-20 18:52:06 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-20 18:52:06 +0000
commit9928a909c6d91e808ad625031a0e2e18bac6513d (patch)
tree8b0db63c1190f192123efd942eaa146da4b1903a /llvm/unittests/Transforms/Utils
parent0b6c369697a01c24721a637fb18f1fdb96a17c01 (diff)
downloadbcm5719-llvm-9928a909c6d91e808ad625031a0e2e18bac6513d.tar.gz
bcm5719-llvm-9928a909c6d91e808ad625031a0e2e18bac6513d.zip
DebugInfo: Remove DIType
This is the last major parent class, so I'll probably start deleting classes in batches now. Looks like many of the references to the DI* hierarchy were updated organically along the way. llvm-svn: 235331
Diffstat (limited to 'llvm/unittests/Transforms/Utils')
-rw-r--r--llvm/unittests/Transforms/Utils/Cloning.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/Transforms/Utils/Cloning.cpp b/llvm/unittests/Transforms/Utils/Cloning.cpp
index 636cb3caa50..c0f25ab3b6f 100644
--- a/llvm/unittests/Transforms/Utils/Cloning.cpp
+++ b/llvm/unittests/Transforms/Utils/Cloning.cpp
@@ -251,8 +251,8 @@ protected:
Instruction* Terminator = IBuilder.CreateRetVoid();
// Create a local variable around the alloca
- DIType IntType = DBuilder.createBasicType("int", 32, 0,
- dwarf::DW_ATE_signed);
+ auto *IntType =
+ DBuilder.createBasicType("int", 32, 0, dwarf::DW_ATE_signed);
DIExpression E = DBuilder.createExpression();
DIVariable Variable = DBuilder.createLocalVariable(
dwarf::DW_TAG_auto_variable, Subprogram, "x", File, 5, IntType, true);
OpenPOWER on IntegriCloud