Skip to content

Commit 9ba0e9f

Browse files
erichkeaneIanWood1
authored andcommitted
[NFCI]Prospective fix for MVSC Build bot-
The previous code hits an assert inside the MSVC compiler version 16.8, which is our minimum supported version. This patch looks on godbolt like it avoids this crash, so submitting it to hopefully unbreak the bot.
1 parent 3f9a76b commit 9ba0e9f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/Sema/SemaOpenACCClauseAppertainment.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ class AccClauseSet {
3434
}
3535

3636
public:
37-
constexpr AccClauseSet(
38-
const std::initializer_list<OpenACCClauseKind> &Clauses)
37+
constexpr AccClauseSet(std::initializer_list<OpenACCClauseKind> Clauses)
3938
: Data(0) {
4039
for (OpenACCClauseKind C : Clauses)
4140
setBit(C);

0 commit comments

Comments
 (0)