Skip to content

Commit 70f9529

Browse files
authored
Apply suggestions from code review
1 parent 9d43175 commit 70f9529

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

clang/include/clang/Basic/Attr.td

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1303,14 +1303,14 @@ def SYCLIntelMaxWorkGroupSize : InheritableAttr {
13031303
return {getXDim(), getYDim(), getZDim()};
13041304
}
13051305
Optional<llvm::APSInt> getXDimVal(ASTContext &Ctx) const {
1306-
return getXDim()->getIntegerConstantExpr(Ctx);
1307-
}
1306+
return getXDim()->getIntegerConstantExpr(Ctx);
1307+
}
13081308
Optional<llvm::APSInt> getYDimVal(ASTContext &Ctx) const {
1309-
return getYDim()->getIntegerConstantExpr(Ctx);
1310-
}
1309+
return getYDim()->getIntegerConstantExpr(Ctx);
1310+
}
13111311
Optional<llvm::APSInt> getZDimVal(ASTContext &Ctx) const {
1312-
return getZDim()->getIntegerConstantExpr(Ctx);
1313-
}
1312+
return getZDim()->getIntegerConstantExpr(Ctx);
1313+
}
13141314
}];
13151315
let Documentation = [SYCLIntelMaxWorkGroupSizeAttrDocs];
13161316
}
@@ -2863,14 +2863,14 @@ def ReqdWorkGroupSize : InheritableAttr {
28632863
return {getXDim(), getYDim(), getZDim()};
28642864
}
28652865
Optional<llvm::APSInt> getXDimVal(ASTContext &Ctx) const {
2866-
return getXDim()->getIntegerConstantExpr(Ctx);
2867-
}
2866+
return getXDim()->getIntegerConstantExpr(Ctx);
2867+
}
28682868
Optional<llvm::APSInt> getYDimVal(ASTContext &Ctx) const {
2869-
return getYDim()->getIntegerConstantExpr(Ctx);
2870-
}
2869+
return getYDim()->getIntegerConstantExpr(Ctx);
2870+
}
28712871
Optional<llvm::APSInt> getZDimVal(ASTContext &Ctx) const {
2872-
return getZDim()->getIntegerConstantExpr(Ctx);
2873-
}
2872+
return getZDim()->getIntegerConstantExpr(Ctx);
2873+
}
28742874
}];
28752875
let Documentation = [ReqdWorkGroupSizeAttrDocs];
28762876
}

0 commit comments

Comments
 (0)