mini-llvm
0.1.0
Toggle main menu visibility
Loading...
Searching...
No Matches
Strings.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
3
#pragma once
4
5
#include <string>
6
7
#include "
mini-llvm/utils/Compiler.h
"
8
9
namespace
mini_llvm
{
10
11
MINI_LLVM_EXPORT
std::string
toString
(
int
value,
int
base = 10);
12
MINI_LLVM_EXPORT
std::string
toString
(
long
value,
int
base = 10);
13
MINI_LLVM_EXPORT
std::string
toString
(
long
long
value,
int
base = 10);
14
MINI_LLVM_EXPORT
std::string
toString
(
unsigned
int
value,
int
base = 10);
15
MINI_LLVM_EXPORT
std::string
toString
(
unsigned
long
value,
int
base = 10);
16
MINI_LLVM_EXPORT
std::string
toString
(
unsigned
long
long
value,
int
base = 10);
17
18
MINI_LLVM_EXPORT
void
normalizeLineEndings
(std::string &str);
19
20
}
// namespace mini_llvm
Compiler.h
MINI_LLVM_EXPORT
#define MINI_LLVM_EXPORT
Definition
Compiler.h:17
mini_llvm
Definition
GraphColoringAllocator.h:13
mini_llvm::normalizeLineEndings
MINI_LLVM_EXPORT void normalizeLineEndings(std::string &str)
mini_llvm::toString
MINI_LLVM_EXPORT std::string toString(int value, int base=10)
include
mini-llvm
utils
Strings.h
Generated by
1.17.0