diff options
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.h')
-rw-r--r-- | llvm/lib/Bitcode/Reader/MetadataLoader.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Bitcode/Reader/MetadataLoader.h b/llvm/lib/Bitcode/Reader/MetadataLoader.h index 7098008..653f140 100644 --- a/llvm/lib/Bitcode/Reader/MetadataLoader.h +++ b/llvm/lib/Bitcode/Reader/MetadataLoader.h @@ -13,7 +13,6 @@ #ifndef LLVM_LIB_BITCODE_READER_METADATALOADER_H #define LLVM_LIB_BITCODE_READER_METADATALOADER_H -#include "llvm/ADT/SmallVector.h" #include "llvm/Support/Error.h" #include <functional> @@ -28,6 +27,7 @@ class Instruction; class Metadata; class Module; class Type; +template <typename T> class ArrayRef; /// Helper class that handles loading Metadatas and keeping them available. class MetadataLoader { @@ -66,8 +66,8 @@ public: DISubprogram *lookupSubprogramForFunction(Function *F); /// Parse a `METADATA_ATTACHMENT` block for a function. - Error parseMetadataAttachment( - Function &F, const SmallVectorImpl<Instruction *> &InstructionList); + Error parseMetadataAttachment(Function &F, + ArrayRef<Instruction *> InstructionList); /// Parse a `METADATA_KIND` block for the current module. Error parseMetadataKinds(); |