LLVM API Documentation
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <limits.h>
#include <stdlib.h>
#include "regex_impl.h"
#include "regutils.h"
Go to the source code of this file.
Classes | |
struct | rerr |
Functions | |
static const char * | regatoi (const llvm_regex_t *, char *, int) |
size_t | llvm_regerror (int errcode, const llvm_regex_t *preg, char *errbuf, size_t errbuf_size) |
Variables | |
static struct rerr | rerrs [] |
size_t llvm_regerror | ( | int | errcode, |
const llvm_regex_t * | preg, | ||
char * | errbuf, | ||
size_t | errbuf_size | ||
) |
Definition at line 84 of file regerror.c.
References rerr::code, rerr::explain, llvm_strlcpy(), rerr::name, REG_ATOI, REG_ITOA, regatoi(), rerrs, llvm::LibFunc::snprintf, and llvm::LibFunc::strlen.
Referenced by llvm::Regex::isValid().
static const char * regatoi | ( | const llvm_regex_t * | preg, |
char * | localbuf, | ||
int | localbufsize | ||
) | [static] |
Definition at line 123 of file regerror.c.
References rerr::code, rerr::name, llvm_regex::re_endp, rerrs, llvm::LibFunc::snprintf, and llvm::LibFunc::strcmp.
Referenced by llvm_regerror().
Referenced by llvm_regerror(), and regatoi().