[llvm] Add the 'initialized' attribute langref and support (PR #84803)
Jan Voung via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 14 17:29:03 PDT 2024
================
@@ -307,6 +308,10 @@ namespace llvm {
bool AllowParens = false);
bool parseOptionalCodeModel(CodeModel::Model &model);
bool parseOptionalDerefAttrBytes(lltok::Kind AttrKind, uint64_t &Bytes);
+ bool parseConstRange(std::pair<int64_t, int64_t> &Range);
+ bool parseInitializedRanges(
+ lltok::Kind AttrKind,
----------------
jvoung wrote:
can the AttrKind be hardcoded within the function instead of taking as parameter? (unlike DerefAttrBytes, there is only one variation of the attribute, I believe?)
https://github.com/llvm/llvm-project/pull/84803
More information about the llvm-commits
mailing list