Skip to content

Commit

Permalink
Add yvals_core.h interposing library
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxEW707 committed Jan 11, 2024
1 parent 71c0966 commit f39e4aa
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/Headers/CMakeLists.txt
Expand Up @@ -256,6 +256,7 @@ set(windows_only_files
intrin0.h
intrin.h
vadefs.h
yvals_core.h
)

set(utility_files
Expand Down
26 changes: 26 additions & 0 deletions clang/lib/Headers/yvals_core.h
@@ -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. */
#ifndef _MSC_VER
#include_next <yvals_core.h>
#else

#ifndef __clang_yvals_core_h
#define __clang_yvals_core_h

#include_next <yvals_core.h>

#ifdef _STL_INTRIN_HEADER
#undef _STL_INTRIN_HEADER
#define _STL_INTRIN_HEADER <intrin0.h>
#endif

#endif
#endif

0 comments on commit f39e4aa

Please sign in to comment.