Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

如何将vector<Constant*>类型转换为ArrayRef<Value*>类型 #47

Answered by lyh1028
lyh1028 asked this question in Q&A
Discussion options

You must be logged in to vote

解决方法,重新创建一个std::vector<Value*> pos,把std::vector<Constant*>的内容全部拷贝进去再让pos作为参数传进那个GEP函数

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lyh1028
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant