-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Labels
clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"enhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing feature
Description
I don't think there is much of a reason not to add them and would avoid a long list of if constexpr
just for clang to go through the same code gen path in the end. A generic version would also add support for other integral types like _BitInt
and __int128
.
P.S. I don't really understand why this hasn't been done in the first place. Now we just have a bunch of g
version for all the builtins as well as numbered ones without any benefit I can see.
frederick-vs-ja
Metadata
Metadata
Assignees
Labels
clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"enhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing feature