diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-21 18:44:06 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-21 18:44:06 +0000 |
| commit | 60635e39b669713fe8d7b40bf8b4b10fb7fb34d6 (patch) | |
| tree | a0a124c763e644d915844e862e6216375674137f /llvm/unittests/Transforms/Utils/Cloning.cpp | |
| parent | dadc2b627d834acda6def76209db2c2001a079a9 (diff) | |
| download | bcm5719-llvm-60635e39b669713fe8d7b40bf8b4b10fb7fb34d6.tar.gz bcm5719-llvm-60635e39b669713fe8d7b40bf8b4b10fb7fb34d6.zip | |
DebugInfo: Drop rest of DIDescriptor subclasses
Delete the remaining subclasses of (the already deleted) `DIDescriptor`.
Part of PR23080.
llvm-svn: 235404
Diffstat (limited to 'llvm/unittests/Transforms/Utils/Cloning.cpp')
| -rw-r--r-- | llvm/unittests/Transforms/Utils/Cloning.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/unittests/Transforms/Utils/Cloning.cpp b/llvm/unittests/Transforms/Utils/Cloning.cpp index d778903cbae..35bdd3684ab 100644 --- a/llvm/unittests/Transforms/Utils/Cloning.cpp +++ b/llvm/unittests/Transforms/Utils/Cloning.cpp @@ -254,9 +254,9 @@ protected: // Create a local variable around the alloca 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); + auto *E = DBuilder.createExpression(); + auto *Variable = DBuilder.createLocalVariable( + dwarf::DW_TAG_auto_variable, Subprogram, "x", File, 5, IntType, true); auto *DL = MDLocation::get(Subprogram->getContext(), 5, 0, Subprogram); DBuilder.insertDeclare(Alloca, Variable, E, DL, Store); DBuilder.insertDbgValueIntrinsic(AllocaContent, 0, Variable, E, DL, |

