summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/IR/IRBuilderTest.cpp
diff options
context:
space:
mode:
authorLeny Kholodov <lkholodov@accesssoftek.com>2016-09-06 17:03:02 +0000
committerLeny Kholodov <lkholodov@accesssoftek.com>2016-09-06 17:03:02 +0000
commit40c6235b7963f9dc9d62576e05db0d62d6fb89bd (patch)
tree32c4749aa3944240edff52c1f21b5b5c56e5678f /llvm/unittests/IR/IRBuilderTest.cpp
parent1b4462b7c18006c856ecd0314d6be415a7c0d58f (diff)
downloadbcm5719-llvm-40c6235b7963f9dc9d62576e05db0d62d6fb89bd.tar.gz
bcm5719-llvm-40c6235b7963f9dc9d62576e05db0d62d6fb89bd.zip
Formatting with clang-format patch r280700
llvm-svn: 280716
Diffstat (limited to 'llvm/unittests/IR/IRBuilderTest.cpp')
-rw-r--r--llvm/unittests/IR/IRBuilderTest.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/unittests/IR/IRBuilderTest.cpp b/llvm/unittests/IR/IRBuilderTest.cpp
index 0affe112618..01423a5b412 100644
--- a/llvm/unittests/IR/IRBuilderTest.cpp
+++ b/llvm/unittests/IR/IRBuilderTest.cpp
@@ -343,14 +343,12 @@ TEST_F(IRBuilderTest, DIBuilder) {
auto CU = DIB.createCompileUnit(dwarf::DW_LANG_Cobol74, "F.CBL", "/",
"llvm-cobol74", true, "", 0);
auto Type = DIB.createSubroutineType(DIB.getOrCreateTypeArray(None));
- auto SP =
- DIB.createFunction(CU, "foo", "", File, 1, Type, false, true, 1,
- DINode::FlagZero, true);
+ auto SP = DIB.createFunction(CU, "foo", "", File, 1, Type, false, true, 1,
+ DINode::FlagZero, true);
F->setSubprogram(SP);
AllocaInst *I = Builder.CreateAlloca(Builder.getInt8Ty());
- auto BarSP =
- DIB.createFunction(CU, "bar", "", File, 1, Type, false, true, 1,
- DINode::FlagZero, true);
+ auto BarSP = DIB.createFunction(CU, "bar", "", File, 1, Type, false, true, 1,
+ DINode::FlagZero, true);
auto BadScope = DIB.createLexicalBlockFile(BarSP, File, 0);
I->setDebugLoc(DebugLoc::get(2, 0, BadScope));
DIB.finalize();
OpenPOWER on IntegriCloud