summaryrefslogtreecommitdiff
path: root/include/llvm/Argument.h
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-03-11 23:42:24 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-03-11 23:42:24 +0000
commita7a805ef9833c0378bfeb0e2c5ffa69cbdace406 (patch)
treeec33e499dce858c364d1d15dc475f0f6e02fd83f /include/llvm/Argument.h
parentdd298c8c6eb036baf35bf5a559c59d2afd2c7944 (diff)
downloadllvm-a7a805ef9833c0378bfeb0e2c5ffa69cbdace406.tar.gz
llvm-a7a805ef9833c0378bfeb0e2c5ffa69cbdace406.tar.bz2
llvm-a7a805ef9833c0378bfeb0e2c5ffa69cbdace406.tar.xz
Forward-declare templates for fix compilation when Argument.h is included first.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Argument.h')
-rw-r--r--include/llvm/Argument.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Argument.h b/include/llvm/Argument.h
index ab4ee1bf0e..d39c373b0a 100644
--- a/include/llvm/Argument.h
+++ b/include/llvm/Argument.h
@@ -19,6 +19,10 @@
namespace llvm {
+template<typename SC> struct ilist_traits;
+template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,
+ typename SubClass> class SymbolTableListTraits;
+
class Argument : public Value { // Defined in the Function.cpp file
Function *Parent;