summaryrefslogtreecommitdiff
path: root/ACE/apps/soreduce
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-09-13 18:24:51 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-09-13 18:24:51 +0000
commit93bd37499c0f1ea062d123a8425c7157503510e2 (patch)
tree29cdfc1a8d692b206a02154d887747a5249dfd30 /ACE/apps/soreduce
parented8291d8da71da82a9d8f1e05a516d844bcb103b (diff)
downloadATCD-93bd37499c0f1ea062d123a8425c7157503510e2.tar.gz
Mon Sep 13 18:15:27 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>
*: Zapped trailing whitespaces using find -name \*.h -o -name \*.cpp -name \*.inl | xargs perl -i -pe's/\s+\n/\n/'
Diffstat (limited to 'ACE/apps/soreduce')
-rw-r--r--ACE/apps/soreduce/Obj_Module.h14
-rw-r--r--ACE/apps/soreduce/SO_Group.h4
-rw-r--r--ACE/apps/soreduce/Sig_List.h10
-rw-r--r--ACE/apps/soreduce/Signature.h20
4 files changed, 24 insertions, 24 deletions
diff --git a/ACE/apps/soreduce/Obj_Module.h b/ACE/apps/soreduce/Obj_Module.h
index 1836b75e7ec..f03a3c392c0 100644
--- a/ACE/apps/soreduce/Obj_Module.h
+++ b/ACE/apps/soreduce/Obj_Module.h
@@ -9,15 +9,15 @@
#define _OBJ_MODULE_H_
// Obj_Module encapsulates the result of applying nm to a single object module
-// in a shared library. Currently an object module consists of two types of
+// in a shared library. Currently an object module consists of two types of
// signatures, those that are exported, able to resolve references from others,
// and those that are imported, needing resolution.
//
-// Obj_Modules keep track of external references. In the end, any module that
+// Obj_Modules keep track of external references. In the end, any module that
// has one or more external references to it must be included in the resulting
-// library. While the means exists to remove external references, perhaps
-// through further analysis of undefined signatures and their usage, this is
-// not currently done. Once a technique is discovered to allow for easy
+// library. While the means exists to remove external references, perhaps
+// through further analysis of undefined signatures and their usage, this is
+// not currently done. Once a technique is discovered to allow for easy
// determination that reference is truly unneeded this code may be useful.
#include "Sig_List.h"
@@ -51,12 +51,12 @@ public:
// not included in the final library.
int extref ();
- // add a new external reference to this module.
+ // add a new external reference to this module.
void add_extref ();
// remove an exterenal reference. Currently, this function is not used.
void remove_extref();
-
+
private:
void populate_sig_list (Sig_List &, int , ACE_Message_Block *);
int read_line (ACE_HANDLE src, ACE_Message_Block **buf);
diff --git a/ACE/apps/soreduce/SO_Group.h b/ACE/apps/soreduce/SO_Group.h
index 09758c8c7bb..df4723a5905 100644
--- a/ACE/apps/soreduce/SO_Group.h
+++ b/ACE/apps/soreduce/SO_Group.h
@@ -14,7 +14,7 @@
// analize a collection of applications so that common shared libraries can
// be reduced.
-class SO_Group
+class SO_Group
{
public:
SO_Group ();
@@ -25,7 +25,7 @@ public:
// libraries if found. Finally, add the undefined symbols from the executable
// to the undefs collection.
void add_executable(const char * );
-
+
// Do the actual business of the program
void analize ();
diff --git a/ACE/apps/soreduce/Sig_List.h b/ACE/apps/soreduce/Sig_List.h
index 9b4b0dc115f..bd85974451e 100644
--- a/ACE/apps/soreduce/Sig_List.h
+++ b/ACE/apps/soreduce/Sig_List.h
@@ -9,11 +9,11 @@
#ifndef _SIG_LIST_H_
#define _SIG_LIST_H_
-// A Sig_List is a specialized container of signatures. The initial use of a
-// Sig_List was to manage a variable length of undefined Signatures, so the
-// program could know when all possible resolutions were determined. As the
-// program grows in complexity, Sig_Lists are used to store other groups as
-// well. The methods provide simple list traversal, as well as efficient use
+// A Sig_List is a specialized container of signatures. The initial use of a
+// Sig_List was to manage a variable length of undefined Signatures, so the
+// program could know when all possible resolutions were determined. As the
+// program grows in complexity, Sig_Lists are used to store other groups as
+// well. The methods provide simple list traversal, as well as efficient use
// of space.
#include "Signature.h"
diff --git a/ACE/apps/soreduce/Signature.h b/ACE/apps/soreduce/Signature.h
index 358a756aa7a..189a430543a 100644
--- a/ACE/apps/soreduce/Signature.h
+++ b/ACE/apps/soreduce/Signature.h
@@ -9,15 +9,15 @@
#ifndef _SIGNATURE_H_
#define _SIGNATURE_H_
-// Signature class encapsulates a single line of nm output. This line may be
-// either an "undefined" name to be resolved, or text or data which resolves
-// the unknowns. Some of the features of the Signature class are currently
-// unused, such as owner_, which is anticipation of analysis that may lead to
-// further code reduction. The premise being that unresolved symbols that are
-// defined within otherwise unused code should not be resolved. However this
-// information is not available in the output of nm. Further research is
+// Signature class encapsulates a single line of nm output. This line may be
+// either an "undefined" name to be resolved, or text or data which resolves
+// the unknowns. Some of the features of the Signature class are currently
+// unused, such as owner_, which is anticipation of analysis that may lead to
+// further code reduction. The premise being that unresolved symbols that are
+// defined within otherwise unused code should not be resolved. However this
+// information is not available in the output of nm. Further research is
// required.
-//
+//
// Signatures are reference counted to avoid duplication.
#include <ace/SString.h>
@@ -27,7 +27,7 @@ public:
enum Kind {
text_,
- undef_
+ undef_
};
Signature (const ACE_CString &);
@@ -43,7 +43,7 @@ private:
ACE_CString name_;
int ref_count_;
int used_;
- Signature * owner_;
+ Signature * owner_;
Kind kind_;
};