jhuber6 added inline comments.
================ Comment at: clang/lib/CodeGen/CGOpenMPRuntime.cpp:10598 + CGM.getCXXABI().getMangleContext().mangleTypeName(VD->getType(), OS); + OS << "_" << VD->getName() << "_l" << Line; VarName = OS.str(); ---------------- jdoerfert wrote: > What if the code is not C++? Should work fine, this just mangles it according to the C++ ABI but doesn't require it being C++ as far as I know. Testing it with a sample C file creates the same symbol name as the C++ version. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D103995/new/ https://reviews.llvm.org/D103995 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits