[clang] [clang] Add `intrin0.h` header to mimic `intrin0.h` used by MSVC STL for clang-cl (PR #75711)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 24 14:17:20 PST 2024


================
@@ -0,0 +1,26 @@
+/* ===-------- vadefs.h ---------------------------------------------------===
+ *
+ * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+ * See https://llvm.org/LICENSE.txt for license information.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+ *
+ *===-----------------------------------------------------------------------===
+ */
+
+/* Only include this if we are aiming for MSVC compatibility. */
----------------
MaskRay wrote:

Newer lib/Headers changes prefer `//`-style comments. Do we need `/* */`?

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


More information about the cfe-commits mailing list