From a7a805ef9833c0378bfeb0e2c5ffa69cbdace406 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Thu, 11 Mar 2004 23:42:24 +0000 Subject: [PATCH] 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 --- include/llvm/Argument.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/llvm/Argument.h b/include/llvm/Argument.h index ab4ee1bf0eb..d39c373b0a5 100644 --- a/include/llvm/Argument.h +++ b/include/llvm/Argument.h @@ -19,6 +19,10 @@ namespace llvm { +template struct ilist_traits; +template class SymbolTableListTraits; + class Argument : public Value { // Defined in the Function.cpp file Function *Parent;