mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Use an ArrayRef instead of a std::vector&.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169881 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#ifndef LLVM_TRANSFORMS_IPO_H
|
||||
#define LLVM_TRANSFORMS_IPO_H
|
||||
|
||||
#include <vector>
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
@@ -109,7 +109,7 @@ Pass *createPruneEHPass();
|
||||
///
|
||||
/// Note that commandline options that are used with the above function are not
|
||||
/// used now!
|
||||
ModulePass *createInternalizePass(const std::vector<const char *> &exportList);
|
||||
ModulePass *createInternalizePass(ArrayRef<const char *> exportList);
|
||||
/// createInternalizePass - Same as above, but with an empty exportList.
|
||||
ModulePass *createInternalizePass();
|
||||
|
||||
|
Reference in New Issue
Block a user