Skip to content

Commit ada2f0d

Browse files
committed
drop __ in Declspec
1 parent 6ecf720 commit ada2f0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/include/clang/Basic/Attr.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,15 +1573,15 @@ def HIPManaged : InheritableAttr {
15731573
}
15741574

15751575
def CUDAClusterDims : InheritableAttr {
1576-
let Spellings = [GNU<"cluster_dims">, Declspec<"__cluster_dims__">];
1576+
let Spellings = [GNU<"cluster_dims">, Declspec<"cluster_dims">];
15771577
let Args = [ExprArgument<"X">, ExprArgument<"Y", 1>, ExprArgument<"Z", 1>];
15781578
let Subjects = SubjectList<[ObjCMethod, FunctionLike]>;
15791579
let LangOpts = [CUDA];
15801580
let Documentation = [CUDAClusterDimsAttrDoc];
15811581
}
15821582

15831583
def CUDANoCluster : InheritableAttr {
1584-
let Spellings = [GNU<"no_cluster">, Declspec<"__no_cluster__">];
1584+
let Spellings = [GNU<"no_cluster">, Declspec<"no_cluster">];
15851585
let Subjects = SubjectList<[ObjCMethod, FunctionLike]>;
15861586
let LangOpts = [CUDA];
15871587
let Documentation = [CUDANoClusterAttrDoc];

0 commit comments

Comments
 (0)