[clang] Handle __declspec() attributes in using
[llvm-project.git] / compiler-rt / lib / gwp_asan / tests / platform_specific / printf_sanitizer_common.cpp
blob102b1dbfe51113dc79475c1f34f34a3fda9c4668
1 //===-- printf_sanitizer_common.cpp -----------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #include "gwp_asan/optional/printf.h"
11 #include "sanitizer_common/sanitizer_common.h"
13 namespace gwp_asan {
14 namespace test {
16 Printf_t getPrintfFunction() { return __sanitizer::Printf; }
18 } // namespace test
19 } // namespace gwp_asan