================
@@ -6,6 +6,6 @@
 #endif
 
 static __thread int y __attribute((tls_model("global-dynamic"))); // no-warning
-static __thread int y __attribute((tls_model("local-dynamic"))); // 
expected-error {{TLS model 'local-dynamic' is not yet supported on AIX}}
+static __thread int y __attribute((tls_model("local-dynamic"))); // 
expected-no-diagnostics
----------------
orcguru wrote:

The particular error for setting the check to "no-warning" is:

clang -cc1 -internal-isystem $llvm-public/build/lib/clang/18/include 
-nostdsysteminc -triple powerpc64-unknown-aix -target-cpu pwr8 -verify 
-fsyntax-only $llvm-project/clang/test/Sema/aix-attr-tls_model.c
error: no expected directives found: consider use of 'expected-no-diagnostics'
1 error generated.


https://github.com/llvm/llvm-project/pull/66316
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to