Skip to content

Commit f4597a6

Browse files
committed
Formatting changes; NFC
1 parent b743838 commit f4597a6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/lib/Sema/SemaDeclAttr.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ void Sema::CheckDeprecatedSYCLAttributeSpelling(const ParsedAttr &A,
330330
Diag(A.getLoc(), diag::warn_attribute_spelling_deprecated)
331331
<< "'" + A.getNormalizedFullName() + "'";
332332

333-
FixItHint Fix = NewName.empty()
333+
FixItHint Fix = NewName.empty()
334334
? FixItHint::CreateReplacement(A.getScopeLoc(), "intel")
335335
: FixItHint::CreateReplacement(
336336
A.getRange(), ("intel::" + NewName).str());
@@ -5521,8 +5521,7 @@ static void handleNoGlobalWorkOffsetAttr(Sema &S, Decl *D,
55215521
? A.getArgAsExpr(0)
55225522
: IntegerLiteral::Create(S.Context, llvm::APInt(32, 1),
55235523
S.Context.IntTy, A.getLoc());
5524-
S.addIntelSYCLSingleArgFunctionAttr<SYCLIntelNoGlobalWorkOffsetAttr>(D, A,
5525-
E);
5524+
S.addIntelSYCLSingleArgFunctionAttr<SYCLIntelNoGlobalWorkOffsetAttr>(D, A, E);
55265525
}
55275526

55285527
/// Handle the [[intelfpga::doublepump]] and [[intelfpga::singlepump]] attributes.

0 commit comments

Comments
 (0)