summaryrefslogtreecommitdiff
path: root/include/lldb/Utility/VASPrintf.h
blob: 582645fd229299dd521df26286c2fbf542b716af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//===-- VASPrintf.h ---------------------------------------------*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef LLDB_UTILITY_VASPRINTF_H
#define LLDB_UTILITY_VASPRINTF_H

#include "llvm/ADT/SmallVector.h"

#include <cstdarg>

namespace lldb_private {
bool VASprintf(llvm::SmallVectorImpl<char> &buf, const char *fmt, va_list args);
}

#endif // #ifdef LLDB_UTILITY_VASPRINTF_H