@@ -84,7 +84,7 @@ TEST(DroppedVariableStats, BothDeleted) {
8484 llvm::Any (const_cast <const llvm::Module *>(M.get ())));
8585
8686 // This loop simulates an IR pass that drops debug information.
87- for (auto &F : *M. get () ) {
87+ for (auto &F : *M) {
8888 for (auto &I : instructions (&F)) {
8989 I.dropDbgRecords ();
9090 I.eraseFromParent ();
@@ -141,7 +141,7 @@ TEST(DroppedVariableStats, DbgValLost) {
141141 llvm::Any (const_cast <const llvm::Module *>(M.get ())));
142142
143143 // This loop simulates an IR pass that drops debug information.
144- for (auto &F : *M. get () ) {
144+ for (auto &F : *M) {
145145 for (auto &I : instructions (&F)) {
146146 I.dropDbgRecords ();
147147 break ;
@@ -198,7 +198,7 @@ TEST(DroppedVariableStats, UnrelatedScopes) {
198198 llvm::Any (const_cast <const llvm::Module *>(M.get ())));
199199
200200 // This loop simulates an IR pass that drops debug information.
201- for (auto &F : *M. get () ) {
201+ for (auto &F : *M) {
202202 for (auto &I : instructions (&F)) {
203203 I.dropDbgRecords ();
204204 break ;
@@ -255,7 +255,7 @@ TEST(DroppedVariableStats, ChildScopes) {
255255 llvm::Any (const_cast <const llvm::Module *>(M.get ())));
256256
257257 // This loop simulates an IR pass that drops debug information.
258- for (auto &F : *M. get () ) {
258+ for (auto &F : *M) {
259259 for (auto &I : instructions (&F)) {
260260 I.dropDbgRecords ();
261261 break ;
@@ -313,7 +313,7 @@ TEST(DroppedVariableStats, InlinedAt) {
313313 llvm::Any (const_cast <const llvm::Module *>(M.get ())));
314314
315315 // This loop simulates an IR pass that drops debug information.
316- for (auto &F : *M. get () ) {
316+ for (auto &F : *M) {
317317 for (auto &I : instructions (&F)) {
318318 I.dropDbgRecords ();
319319 break ;
@@ -371,7 +371,7 @@ TEST(DroppedVariableStats, InlinedAtShared) {
371371 llvm::Any (const_cast <const llvm::Module *>(M.get ())));
372372
373373 // This loop simulates an IR pass that drops debug information.
374- for (auto &F : *M. get () ) {
374+ for (auto &F : *M) {
375375 for (auto &I : instructions (&F)) {
376376 I.dropDbgRecords ();
377377 break ;
@@ -430,7 +430,7 @@ TEST(DroppedVariableStats, InlinedAtChild) {
430430 llvm::Any (const_cast <const llvm::Module *>(M.get ())));
431431
432432 // This loop simulates an IR pass that drops debug information.
433- for (auto &F : *M. get () ) {
433+ for (auto &F : *M) {
434434 for (auto &I : instructions (&F)) {
435435 I.dropDbgRecords ();
436436 break ;
0 commit comments