LLVM
4.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
llvm.src
include
llvm
Demangle
Demangle.h
Go to the documentation of this file.
1
//===--- Demangle.h ---------------------------------------------*- C++ -*-===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
10
#include <cstddef>
11
12
namespace
llvm {
13
/// This is a llvm local version of __cxa_demangle. Other than the name and
14
/// being in the llvm namespace it is identical.
15
///
16
/// The mangled_name is demangled into buf and returned. If the buffer is not
17
/// large enough, realloc is used to expand it.
18
///
19
/// The *status will be set to
20
/// unknown_error: -4
21
/// invalid_args: -3
22
/// invalid_mangled_name: -2
23
/// memory_alloc_failure: -1
24
/// success: 0
25
26
char
*
itaniumDemangle
(
const
char
*mangled_name,
char
*buf,
size_t
*n,
27
int
*
status
);
28
}
llvm::itaniumDemangle
char * itaniumDemangle(const char *mangled_name, char *buf, size_t *n, int *status)
This is a llvm local version of __cxa_demangle.
Definition:
ItaniumDemangle.cpp:4221
llvm::sys::fs::status
std::error_code status(const Twine &path, file_status &result)
Get file status as if by POSIX stat().
Generated on Wed Mar 8 2017 17:07:58 for LLVM by
1.8.6