Skip to content

Commit bb70e24

Browse files
committed
Fix clang-format errors
Signed-off-by: Soumi Manna <[email protected]>
1 parent cbab06d commit bb70e24

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

clang/include/clang/Sema/Sema.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9987,8 +9987,8 @@ class Sema final {
99879987
void AddIntelFPGABankBitsAttr(Decl *D, const AttributeCommonInfo &CI,
99889988
Expr **Exprs, unsigned Size);
99899989
template <typename AttrType>
9990-
void addIntelSYCLSingleArgFunctionAttr(Decl *D,
9991-
const AttributeCommonInfo &CI, Expr *E);
9990+
void addIntelSYCLSingleArgFunctionAttr(Decl *D, const AttributeCommonInfo &CI,
9991+
Expr *E);
99929992
/// AddAlignedAttr - Adds an aligned attribute to a particular declaration.
99939993
void AddAlignedAttr(Decl *D, const AttributeCommonInfo &CI, Expr *E,
99949994
bool IsPackExpansion);

clang/lib/Sema/SemaDeclAttr.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3002,7 +3002,8 @@ static void handleNumSimdWorkItemsAttr(Sema &S, Decl *D,
30023002
if (D->getAttr<SYCLIntelNumSimdWorkItemsAttr>())
30033003
S.Diag(Attr.getLoc(), diag::warn_duplicate_attribute) << Attr;
30043004

3005-
S.addIntelSYCLSingleArgFunctionAttr<SYCLIntelNumSimdWorkItemsAttr>(D, Attr, E);
3005+
S.addIntelSYCLSingleArgFunctionAttr<SYCLIntelNumSimdWorkItemsAttr>(D, Attr,
3006+
E);
30063007
}
30073008

30083009
// Handles max_global_work_dim.

0 commit comments

Comments
 (0)