summaryrefslogtreecommitdiff
path: root/include/llvm/Use.h
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2011-01-16 08:10:57 +0000
committerJay Foad <jay.foad@gmail.com>2011-01-16 08:10:57 +0000
commitbdbe342e8602e38c7eadb4f0c2664e7e30bff768 (patch)
tree4a3ff783119429a1e6b5e3b7e92f9ff539c67f98 /include/llvm/Use.h
parent28252b6f0a483ffb0ead991c7a1ead14e3cd2fc1 (diff)
downloadllvm-bdbe342e8602e38c7eadb4f0c2664e7e30bff768.tar.gz
llvm-bdbe342e8602e38c7eadb4f0c2664e7e30bff768.tar.bz2
llvm-bdbe342e8602e38c7eadb4f0c2664e7e30bff768.tar.xz
Move the implementation of the User class into a new source file,
User.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Use.h')
-rw-r--r--include/llvm/Use.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/llvm/Use.h b/include/llvm/Use.h
index 507504ecdc..47511c8e18 100644
--- a/include/llvm/Use.h
+++ b/include/llvm/Use.h
@@ -208,6 +208,15 @@ public:
unsigned getOperandNo() const;
};
+//===----------------------------------------------------------------------===//
+// AugmentedUse layout struct
+//===----------------------------------------------------------------------===//
+
+struct AugmentedUse : public Use {
+ PointerIntPair<User*, 1, Tag> ref;
+ AugmentedUse(); // not implemented
+};
+
} // End llvm namespace
#endif