vscode c/c++ clang-tidy invalid conversion between vector type ‘__m128i‘

阅读 67

2022-04-20

	"C_Cpp.codeAnalysis.clangTidy.args": [
		/* unreasonable question(因为我认为,分析结果需要和编译结果匹配)
		 * 该文件中 存在类型转换 (__v4si)(__m128i)__a
		 * typedef __attribute((vector_size(16))) int __v4si
		 * typedef __attribute((vector_size(16))) long long __m128i
		 * 但是 Tidy 只认 longlong 与 int,会将其作为错误
		 * 所以直接禁止其读取该文件
		*/
		"-D__EMMINTRIN_H"
	],

精彩评论(0)

0 0 举报