diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-27 16:14:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-27 16:14:51 +0000 |
commit | 1fca5ff62bb2ecb5bfc8974f4dbfc56e9d3ca721 (patch) | |
tree | 84ba84e29d790774dd87ad9efc8acb702dafc842 /include/llvm/Analysis/AliasSetTracker.h | |
parent | 3acd9181df5d8f76f75a384266e2a78b9a6c4f45 (diff) |
Convert 'struct' to 'class' in various places to adhere to the coding standards
and work better with VC++. Patch contributed by Morten Ofstad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17281 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/AliasSetTracker.h')
-rw-r--r-- | include/llvm/Analysis/AliasSetTracker.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/AliasSetTracker.h b/include/llvm/Analysis/AliasSetTracker.h index fe3e60c62b..91c822b503 100644 --- a/include/llvm/Analysis/AliasSetTracker.h +++ b/include/llvm/Analysis/AliasSetTracker.h @@ -34,7 +34,7 @@ class AliasSet; class AliasSet { friend class AliasSetTracker; - struct PointerRec; + class PointerRec; typedef std::pair<Value* const, PointerRec> HashNodePair; class PointerRec { @@ -116,7 +116,7 @@ class AliasSet { // Volatile - True if this alias set contains volatile loads or stores. bool Volatile : 1; - friend class ilist_traits<AliasSet>; + friend struct ilist_traits<AliasSet>; AliasSet *getPrev() const { return Prev; } AliasSet *getNext() const { return Next; } void setPrev(AliasSet *P) { Prev = P; } |