Skip to content

Commit 659b628

Browse files
committed
in this target -> on this target
1 parent 5355896 commit 659b628

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3283,7 +3283,7 @@ def warn_unsupported_target_attribute
32833283
"attribute ignored">,
32843284
InGroup<IgnoredAttributes>;
32853285
def err_target_version_unsupported
3286-
: Error<"target_version attribute is not supported in this target">;
3286+
: Error<"target_version attribute is not supported on this target">;
32873287
def err_attribute_unsupported
32883288
: Error<"%0 attribute is not supported on targets missing %1;"
32893289
" specify an appropriate -march= or -mcpu=">;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fsyntax-only -verify %s
22

3-
//expected-error@+1 {{target_version attribute is not supported in this target}}
3+
//expected-error@+1 {{target_version attribute is not supported on this target}}
44
int __attribute__((target_version("aes"))) foo(void) { return 3; }

0 commit comments

Comments
 (0)