svenvh added inline comments.
================ Comment at: clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp:507 + if (VersionIDs[I] >= MinVersion && VersionIDs[I] < MaxVersion) { + Encoded |= 1 << I; + } ---------------- azabaznov wrote: > nit: Encoded |= clang::encodeOpenCLVersion(VersionIDs[I]); I wish I could use `encodeOpenCLVersion` indeed, but the Clang headers are not available in TableGen (see comment on line 493). I couldn't think of a better solution unfortunately, but let me know if you have any suggestions. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D100492/new/ https://reviews.llvm.org/D100492 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits