[clang] [Clang][RISCV] Use Decl for checkRVVTypeSupport (PR #65778)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 8 10:58:08 PDT 2023


================
@@ -0,0 +1,12 @@
+// RUN: %clang_cc1 -triple riscv64 -target-feature +v \
+// RUN:   -disable-O0-optnone -o - -fsyntax-only -fopenmp %s -verify 
+// REQUIRES: riscv-registered-target
+// expected-no-diagnostics
+#include <riscv_vector.h>
----------------
alexey-bataev wrote:

No includes of system headers are allowed here, declare the type manually.

https://github.com/llvm/llvm-project/pull/65778


More information about the cfe-commits mailing list