tianshilei1992 marked 3 inline comments as done. tianshilei1992 added inline comments.
================ Comment at: clang/lib/Headers/__clang_cuda_builtin_vars.h:52 + property(get = __fetch_builtin_##NAME##_##FIELD)) unsigned int FIELD; +#endif ---------------- jdoerfert wrote: > Why do we need these __fetch_builtins (for C). They have a different name > than in the C++ variant anyway. In C we could just not define the __fetch > stuff but only the Field. So `gridDim.x` will work fine. `__declspec(property)` doesn't support C so that code were removed. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D94884/new/ https://reviews.llvm.org/D94884 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits