Skip to content

Commit 3451839

Browse files
authored
Update Builtins.td
1 parent 464a7ee commit 3451839

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/include/clang/Basic/Builtins.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,13 +1186,13 @@ def AllowRuntimeCheck : Builtin {
11861186

11871187
def ShuffleVector : Builtin {
11881188
let Spellings = ["__builtin_shufflevector"];
1189-
let Attributes = [NoThrow, Const, CustomTypeChecking];
1189+
let Attributes = [NoThrow, Const, CustomTypeChecking, Constexpr];
11901190
let Prototype = "void(...)";
11911191
}
11921192

11931193
def ConvertVector : Builtin {
11941194
let Spellings = ["__builtin_convertvector"];
1195-
let Attributes = [NoThrow, Const, CustomTypeChecking];
1195+
let Attributes = [NoThrow, Const, CustomTypeChecking, Constexpr];
11961196
let Prototype = "void(...)";
11971197
}
11981198

0 commit comments

Comments
 (0)