eopXD added a comment. Forward declaration (snippet below) is still allowed after this commit.
#include <riscv_vector.h> vfloat16m1_t foo(); I see the same behavior under https://github.com/llvm/llvm-project/blob/main/clang/test/Sema/x86_64-no-x87.cpp. If I add type check under `SemaDecl.cpp::Sema::ActOnFunctionDeclarator`, the compiler will emit repeating warning for the same function. Currently I don't know what is the best fix for this. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143657/new/ https://reviews.llvm.org/D143657 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits