summaryrefslogtreecommitdiff
path: root/include/llvm/Object/ObjectFile.h
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-07-05 14:49:08 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-07-05 14:49:08 +0000
commitdedd6ee135f886e219035b2cf5957ce492f90ed1 (patch)
tree219400fcf8de4330c9b3c83238ca6b70382a5695 /include/llvm/Object/ObjectFile.h
parent64388ceee00d5e8fc8750ce7967c07a83af3a5a8 (diff)
downloadllvm-dedd6ee135f886e219035b2cf5957ce492f90ed1.tar.gz
llvm-dedd6ee135f886e219035b2cf5957ce492f90ed1.tar.bz2
llvm-dedd6ee135f886e219035b2cf5957ce492f90ed1.tar.xz
Fix 80-col.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134409 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object/ObjectFile.h')
-rw-r--r--include/llvm/Object/ObjectFile.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/include/llvm/Object/ObjectFile.h b/include/llvm/Object/ObjectFile.h
index f083d3c814..0ce11d88d5 100644
--- a/include/llvm/Object/ObjectFile.h
+++ b/include/llvm/Object/ObjectFile.h
@@ -44,7 +44,10 @@ class RelocationRef {
const ObjectFile *OwningObject;
public:
- RelocationRef() : OwningObject(NULL) { std::memset(&RelocationPimpl, 0, sizeof(RelocationPimpl)); }
+ RelocationRef() : OwningObject(NULL) {
+ std::memset(&RelocationPimpl, 0, sizeof(RelocationPimpl));
+ }
+
RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
bool operator==(const RelocationRef &Other) const;
@@ -59,7 +62,10 @@ class SymbolRef {
const ObjectFile *OwningObject;
public:
- SymbolRef() : OwningObject(NULL) { std::memset(&SymbolPimpl, 0, sizeof(SymbolPimpl)); }
+ SymbolRef() : OwningObject(NULL) {
+ std::memset(&SymbolPimpl, 0, sizeof(SymbolPimpl));
+ }
+
SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner);
bool operator==(const SymbolRef &Other) const;
@@ -86,7 +92,10 @@ class SectionRef {
const ObjectFile *OwningObject;
public:
- SectionRef() : OwningObject(NULL) { std::memset(&SectionPimpl, 0, sizeof(SectionPimpl)); }
+ SectionRef() : OwningObject(NULL) {
+ std::memset(&SectionPimpl, 0, sizeof(SectionPimpl));
+ }
+
SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
bool operator==(const SectionRef &Other) const;