Skip to content

Commit 5428dd7

Browse files
committed
fixup: rename error
1 parent 156c96b commit 5428dd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/include/clang/Basic/DiagnosticFrontendKinds.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def err_builtin_needs_feature : Error<"%0 needs target feature %1">;
279279
def err_function_needs_feature : Error<
280280
"always_inline function %1 requires target feature '%2', but would "
281281
"be inlined into function %0 that is compiled without support for '%2'">;
282-
def err_function_alwaysinline_attribute_mismatch : Error<
282+
def err_function_always_inline_attribute_mismatch : Error<
283283
"always_inline function %1 and its caller %0 have mismatched %2 attributes">;
284284

285285
def warn_avx_calling_convention

clang/lib/CodeGen/Targets/AArch64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ void AArch64TargetCodeGenInfo::checkFunctionCallABI(
835835
if (CalleeStreamingMode != CallerStreamingMode &&
836836
CalleeStreamingMode != Sema::ArmStreamingCompatible)
837837
CGM.getDiags().Report(CallLoc,
838-
diag::err_function_alwaysinline_attribute_mismatch)
838+
diag::err_function_always_inline_attribute_mismatch)
839839
<< Caller->getDeclName() << Callee->getDeclName() << "streaming";
840840
}
841841

0 commit comments

Comments
 (0)