diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2012-08-15 19:34:23 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2012-08-15 19:34:23 +0000 | 
| commit | 58b69754af0cbff56b1cfce9be9392e4451f6628 (patch) | |
| tree | eacfc83d988e4b9d11114387ae7dc41243f2a363 /lib/Object/Archive.cpp | |
| parent | 0378662f5bd3dbe8305a485b0282bceb8b52f465 (diff) | |
Notes
Diffstat (limited to 'lib/Object/Archive.cpp')
| -rw-r--r-- | lib/Object/Archive.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Object/Archive.cpp b/lib/Object/Archive.cpp index c5f15bafcfba..2a5951ada506 100644 --- a/lib/Object/Archive.cpp +++ b/lib/Object/Archive.cpp @@ -28,7 +28,7 @@ struct ArchiveMemberHeader {    char UID[6];    char GID[6];    char AccessMode[8]; -  char Size[10]; //< Size of data, not including header or padding. +  char Size[10]; ///< Size of data, not including header or padding.    char Terminator[2];    ///! Get the name without looking up long names. @@ -60,11 +60,11 @@ static const ArchiveMemberHeader *ToHeader(const char *base) {  static bool isInternalMember(const ArchiveMemberHeader &amh) { -  const char *internals[] = { +  static const char *const internals[] = {      "/",      "//",      "#_LLVM_SYM_TAB_#" -    }; +  };    StringRef name = amh.getName();    for (std::size_t i = 0; i < sizeof(internals) / sizeof(*internals); ++i) {  | 
