mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-31 09:32:11 +00:00
Alphabetize TargetLibraryInfo enum and fix doxygen comments. No functional
change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145468 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d4578a4f8d
commit
683e47b1dd
@ -18,43 +18,43 @@ namespace llvm {
|
||||
|
||||
namespace LibFunc {
|
||||
enum Func {
|
||||
/// int fiprintf(FILE *stream, const char *format, ...);
|
||||
fiprintf,
|
||||
|
||||
/// int fputs(const char *s, FILE *stream);
|
||||
fputs,
|
||||
|
||||
/// size_t fwrite(const void *ptr, size_t size, size_t nitems,
|
||||
/// FILE *stream);
|
||||
fwrite,
|
||||
|
||||
/// int iprintf(const char *format, ...);
|
||||
iprintf,
|
||||
|
||||
/// void *memcpy(void *s1, const void *s2, size_t n);
|
||||
memcpy,
|
||||
|
||||
/// void *memmove(void *s1, const void *s2, size_t n);
|
||||
memmove,
|
||||
|
||||
/// void *memset(void *b, int c, size_t len);
|
||||
memset,
|
||||
|
||||
// void *memcpy(void *s1, const void *s2, size_t n);
|
||||
memcpy,
|
||||
|
||||
// void *memmove(void *s1, const void *s2, size_t n);
|
||||
memmove,
|
||||
|
||||
/// void memset_pattern16(void *b, const void *pattern16, size_t len);
|
||||
memset_pattern16,
|
||||
|
||||
/// int iprintf(const char *format, ...);
|
||||
iprintf,
|
||||
|
||||
/// int siprintf(char *str, const char *format, ...);
|
||||
siprintf,
|
||||
|
||||
/// double sqrt(double x);
|
||||
sqrt,
|
||||
|
||||
/// long double sqrtl(long double x);
|
||||
sqrtl,
|
||||
|
||||
/// float sqrtf(float x);
|
||||
sqrtf,
|
||||
|
||||
/// long double sqrtl(long double x);
|
||||
sqrtl,
|
||||
|
||||
/// int fiprintf(FILE *stream, const char *format, ...);
|
||||
fiprintf,
|
||||
|
||||
// size_t fwrite(const void *ptr, size_t size, size_t nitems,
|
||||
// FILE *stream);
|
||||
fwrite,
|
||||
|
||||
// int fputs(const char *s, FILE *stream);
|
||||
fputs,
|
||||
|
||||
NumLibFuncs
|
||||
};
|
||||
}
|
||||
|
@ -22,18 +22,18 @@ char TargetLibraryInfo::ID = 0;
|
||||
|
||||
const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
|
||||
{
|
||||
"memset",
|
||||
"fiprintf",
|
||||
"fputs",
|
||||
"fwrite",
|
||||
"iprintf",
|
||||
"memcpy",
|
||||
"memmove",
|
||||
"memset",
|
||||
"memset_pattern16",
|
||||
"iprintf",
|
||||
"siprintf",
|
||||
"sqrt",
|
||||
"sqrtl",
|
||||
"sqrtf",
|
||||
"fiprintf",
|
||||
"fwrite",
|
||||
"fputs"
|
||||
"sqrtl"
|
||||
};
|
||||
|
||||
/// initialize - Initialize the set of available library functions based on the
|
||||
|
Loading…
Reference in New Issue
Block a user