It is not a good idea to expose raw constants in the LLVM C API. Replace this with an explicit getter.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
@cdisselkoen I believe we were talking past each other in the other revision - sorry about the confusion I may have caused. Hopefully this is clearer.
Comment Actions
I have no problem with this revision. I apologize for my lack of understanding in the other revision (D88190); I was just trying to understand why having an extern const int in the C API wouldn't work. This proposal seems fine and provides more future flexibility.
clang-tidy: warning: invalid case style for function 'LLVMGetUndefMaskElem' [readability-identifier-naming]
not useful