https://issues.dlang.org/show_bug.cgi?id=21530
Issue ID: 21530
Summary: dtoh: Identifiers need to be sanitized wrt. reserved
C++ keywords
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
E.g., from frontend.h:
enum class PASS
{
inline = 7 // needs to be sanitized to `inline_` or so
};
See https://en.cppreference.com/w/cpp/keyword.
--
