Skip to content

Commit f08fe28

Browse files
committed
Fix formatting issues.
1 parent f209196 commit f08fe28

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

llvm/lib/Transforms/Utils/CodeExtractor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,8 +1305,7 @@ static void fixupDebugInfoPostExtraction(
13051305
isa<DbgDeclareInst>(DVI));
13061306
}
13071307
for (auto *DVR : DPUsers)
1308-
UpdateOrInsertDebugRecord(DVR, Input, NewVal, Expr,
1309-
DVR->isDbgDeclare());
1308+
UpdateOrInsertDebugRecord(DVR, Input, NewVal, Expr, DVR->isDbgDeclare());
13101309
}
13111310

13121311
auto IsInvalidLocation = [&NewFunc](Value *Location) {

llvm/unittests/Transforms/Utils/CodeExtractorTest.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
#include "llvm/AsmParser/Parser.h"
1212
#include "llvm/IR/BasicBlock.h"
1313
#include "llvm/IR/Constants.h"
14+
#include "llvm/IR/DebugInfoMetadata.h"
1415
#include "llvm/IR/Dominators.h"
1516
#include "llvm/IR/InstIterator.h"
1617
#include "llvm/IR/Instructions.h"
1718
#include "llvm/IR/LLVMContext.h"
1819
#include "llvm/IR/Module.h"
1920
#include "llvm/IR/Verifier.h"
20-
#include "llvm/IR/DebugInfoMetadata.h"
2121
#include "llvm/IRReader/IRReader.h"
2222
#include "llvm/Support/SourceMgr.h"
2323
#include "gtest/gtest.h"
@@ -813,7 +813,6 @@ TEST(CodeExtractor, ArgsDebugInfo) {
813813
TestExtracted(true);
814814
TestExtracted(false);
815815
EXPECT_FALSE(verifyFunction(*Func));
816-
817816
}
818817

819818
} // end anonymous namespace

0 commit comments

Comments
 (0)