From 2a4a6fecf0b8c92223f8fdf19545b564b7d3fcde Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Wed, 22 Jun 2011 08:50:06 +0000 Subject: Extend ConstantUniqueMap with a new template parameter ValRefType, representing a constant reference to ValType. Normally this is just "const ValType &", but when ValType is a std::vector we want to use ArrayRef as the reference type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133611 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/InlineAsm.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/llvm/InlineAsm.h') diff --git a/include/llvm/InlineAsm.h b/include/llvm/InlineAsm.h index ed8f0f7f61..0d8608605d 100644 --- a/include/llvm/InlineAsm.h +++ b/include/llvm/InlineAsm.h @@ -25,15 +25,16 @@ class PointerType; class FunctionType; class Module; struct InlineAsmKeyType; -template +template class ConstantUniqueMap; template struct ConstantCreator; class InlineAsm : public Value { friend struct ConstantCreator; - friend class ConstantUniqueMap; + friend class ConstantUniqueMap; InlineAsm(const InlineAsm &); // do not implement void operator=(const InlineAsm&); // do not implement -- cgit v1.2.3