Skip to content

[LLVM/String] Remove conversion operator of String to llvm::StringRef#11807

Merged
kparzysz-quic merged 3 commits intoapache:mainfrom
kparzysz-quic:string-no-stringref
Jun 22, 2022
Merged

[LLVM/String] Remove conversion operator of String to llvm::StringRef#11807
kparzysz-quic merged 3 commits intoapache:mainfrom
kparzysz-quic:string-no-stringref

Conversation

@kparzysz-quic
Copy link
Contributor

We should not be declaring LLVM data structures in headers unrelated to LLVM. There are only a handful of places where such a conversion was used, it was replaced with a more local solution.

Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Krzysztof Parzyszek added 3 commits June 22, 2022 09:40
We should not be declaring LLVM data structures in headers unrelated
to LLVM. There are only a handful of places where such a conversion
was used, it was replaced with a more local solution.
@kparzysz-quic kparzysz-quic merged commit 910624a into apache:main Jun 22, 2022
@kparzysz-quic kparzysz-quic deleted the string-no-stringref branch June 22, 2022 23:31
blackkker pushed a commit to blackkker/tvm that referenced this pull request Jul 7, 2022
…apache#11807)

* [LLVM/String] Remove conversion operator of String to llvm::StringRef

We should not be declaring LLVM data structures in headers unrelated
to LLVM. There are only a handful of places where such a conversion
was used, it was replaced with a more local solution.

* Rebase to restart CI

* Restart CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants