[PATCH] D18970: Add functions in ctype.h to builtin function database

Taewook Oh via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 11 23:34:35 PDT 2016


twoh updated this revision to Diff 53369.
twoh added a comment.

Fix attribute annotation from 'const' to 'pure'. Add support for 'pure' attribute to builtin function database related code. Test case (test/Sema/libbuiltins-ctype.c) added. Line 116 of test/FixIt/typo.m is removed because it is not necessary for test but causes a warning that cannot be addressed by -fixit once isupper is registered to Builtins.def.


http://reviews.llvm.org/D18970

Files:
  include/clang/Basic/Builtins.def
  include/clang/Basic/Builtins.h
  lib/Sema/SemaDecl.cpp
  test/FixIt/typo.m
  test/Sema/enable_if.c
  test/Sema/libbuiltins-ctype.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18970.53369.patch
Type: text/x-patch
Size: 79820 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160412/a837b8dc/attachment-0001.bin>


More information about the cfe-commits mailing list