]> granicus.if.org Git - clang/commit
Add __builtin_object_size support.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 3 Sep 2008 21:13:56 +0000 (21:13 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 3 Sep 2008 21:13:56 +0000 (21:13 +0000)
commitd5f8a4fd4d6dfb0415b93bb7ab721bba5cab1332
tree8c13c406d9c7a533d73d199d09e6f77f42fbe568
parentb0a86c21f934d2dd9d5a6da2e52ee833da1d437b
Add __builtin_object_size support.
 - Currently CodeGen always returns a conservative value for this (-1
   or 0 depending on the context).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55735 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Builtins.def
include/clang/Basic/DiagnosticKinds.def
lib/CodeGen/CGBuiltin.cpp
lib/Sema/Sema.h
lib/Sema/SemaChecking.cpp