diff options
author | Artyom Skrobov <Artyom.Skrobov@arm.com> | 2014-06-12 16:07:56 +0000 |
---|---|---|
committer | Artyom Skrobov <Artyom.Skrobov@arm.com> | 2014-06-12 16:07:56 +0000 |
commit | 8bafe4b9426fc14e37f52b5ca589c636e4662012 (patch) | |
tree | 6741051e6e2f71141fd393d81aeda3ac4e750c9f /llvm/lib/Support | |
parent | 0921f6bdb85e4e6ae15f2c0bbd41a45e4f8f66dd (diff) | |
download | bcm5719-llvm-8bafe4b9426fc14e37f52b5ca589c636e4662012.tar.gz bcm5719-llvm-8bafe4b9426fc14e37f52b5ca589c636e4662012.zip |
adding re-include guards into lib/Support/reg*.h
llvm-svn: 210794
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/regcclass.h | 5 | ||||
-rw-r--r-- | llvm/lib/Support/regcname.h | 5 | ||||
-rw-r--r-- | llvm/lib/Support/regex2.h | 5 | ||||
-rw-r--r-- | llvm/lib/Support/regutils.h | 5 |
4 files changed, 20 insertions, 0 deletions
diff --git a/llvm/lib/Support/regcclass.h b/llvm/lib/Support/regcclass.h index 2cea3e4e540..7fd66046cd8 100644 --- a/llvm/lib/Support/regcclass.h +++ b/llvm/lib/Support/regcclass.h @@ -37,6 +37,9 @@ * @(#)cclass.h 8.3 (Berkeley) 3/20/94 */ +#ifndef LLVM_SUPPORT_REGCCLASS_H +#define LLVM_SUPPORT_REGCCLASS_H + /* character-class table */ static struct cclass { const char *name; @@ -68,3 +71,5 @@ static struct cclass { ""} , { NULL, 0, "" } }; + +#endif diff --git a/llvm/lib/Support/regcname.h b/llvm/lib/Support/regcname.h index 3c0bb248ffa..891d25573e8 100644 --- a/llvm/lib/Support/regcname.h +++ b/llvm/lib/Support/regcname.h @@ -35,6 +35,9 @@ * @(#)cname.h 8.3 (Berkeley) 3/20/94 */ +#ifndef LLVM_SUPPORT_REGCNAME_H +#define LLVM_SUPPORT_REGCNAME_H + /* character-name table */ static struct cname { const char *name; @@ -137,3 +140,5 @@ static struct cname { { "DEL", '\177' }, { NULL, 0 } }; + +#endif diff --git a/llvm/lib/Support/regex2.h b/llvm/lib/Support/regex2.h index 21659c34449..d81bfbc97d0 100644 --- a/llvm/lib/Support/regex2.h +++ b/llvm/lib/Support/regex2.h @@ -35,6 +35,9 @@ * @(#)regex2.h 8.4 (Berkeley) 3/20/94 */ +#ifndef LLVM_SUPPORT_REGEX2_H +#define LLVM_SUPPORT_REGEX2_H + /* * internals of regex_t */ @@ -155,3 +158,5 @@ struct re_guts { /* misc utilities */ #define OUT (CHAR_MAX+1) /* a non-character value */ #define ISWORD(c) (isalnum(c&0xff) || (c) == '_') + +#endif diff --git a/llvm/lib/Support/regutils.h b/llvm/lib/Support/regutils.h index d0ee100a382..49a975cd270 100644 --- a/llvm/lib/Support/regutils.h +++ b/llvm/lib/Support/regutils.h @@ -35,6 +35,9 @@ * @(#)utils.h 8.3 (Berkeley) 3/20/94 */ +#ifndef LLVM_SUPPORT_REGUTILS_H +#define LLVM_SUPPORT_REGUTILS_H + /* utility definitions */ #define NC (CHAR_MAX - CHAR_MIN + 1) typedef unsigned char uch; @@ -51,3 +54,5 @@ typedef unsigned char uch; #ifdef USEBCOPY #define memmove(d, s, c) bcopy(s, d, c) #endif + +#endif |