jdoerfert added a comment. There is no documentation of the extension and attribute. See also below.
================ Comment at: clang/lib/CodeGen/CodeGenModule.cpp:1459 + if (auto *A = ND->getAttr<OMPDeclareVariantNoMangleAttr>()) + ND = A->getFunction(); std::string MangledName = getMangledNameImpl(*this, GD, ND); ---------------- Check OpenMP in the lang opts. ================ Comment at: clang/lib/CodeGen/CodeGenModule.cpp:3062 + if (auto *A = Global->getAttr<OMPDeclareVariantNoMangleAttr>()) + VariantGlobalsEmitted.insert(A->getFunction()); } ---------------- This looks like you now disable the diagnostic for pretty much everything, no? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122760/new/ https://reviews.llvm.org/D122760 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits