[cfe-dev] clang builtin function attributes

Joerg Sonnenberger via cfe-dev cfe-dev at lists.llvm.org
Wed Apr 6 01:29:22 PDT 2016


On Tue, Apr 05, 2016 at 06:28:16PM +0000, Taewook Oh via cfe-dev wrote:
> Unlike gcc, clang does not provide builtin functions for functions in
> ctype.h, such as tolower. To generated better optimized code, I'm
> planning to add these functions as builtins with attributes.

What kind of optimisation do you have planned? Especially, keep in mind
that setlocale() is a global property...

Joerg



More information about the cfe-dev mailing list