Skip to content

Commit 49296cf

Browse files
committed
Reformat.
1 parent f11a421 commit 49296cf

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6766,8 +6766,7 @@ def err_counted_by_attr_pointee_unknown_size : Error<
67666766
"%select{|. This will be an error in a future compiler version}3"
67676767
""
67686768
"}2">;
6769-
def err_count_attr_func_cannot_be_a_call
6770-
: Error<"function must not be a call">;
6769+
def err_count_attr_func_cannot_be_a_call : Error<"function must not be a call">;
67716770
def err_count_attr_func_must_be_pure_or_const
67726771
: Error<"function must be either 'pure' or 'const'">;
67736772
def err_count_attr_func_must_have_one_param

clang/lib/CodeGen/CGExpr.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4311,8 +4311,8 @@ void CodeGenFunction::EmitCountedByBoundsChecking(
43114311
if (Base->getType()->isPointerType()) {
43124312
LValueBaseInfo EltBaseInfo;
43134313
TBAAAccessInfo EltTBAAInfo;
4314-
Address Addr = EmitPointerWithAlignment(Base, &EltBaseInfo,
4315-
&EltTBAAInfo);
4314+
Address Addr =
4315+
EmitPointerWithAlignment(Base, &EltBaseInfo, &EltTBAAInfo);
43164316
Res = Addr.getBasePointer();
43174317
} else {
43184318
Res = EmitLValue(Base).getPointer(*this);
@@ -4326,7 +4326,7 @@ void CodeGenFunction::EmitCountedByBoundsChecking(
43264326
}
43274327
}
43284328
}
4329-
out:
4329+
out:
43304330

43314331
return;
43324332
}

0 commit comments

Comments
 (0)