summaryrefslogtreecommitdiffstats
path: root/clang/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-01-28 08:20:04 +0000
committerChris Lattner <sabre@nondot.org>2007-01-28 08:20:04 +0000
commit9561a0b3e7d65522086d703c170e6b0e41edf02a (patch)
tree5c65e36532e12404f5b6ae01b082dd1c00d33449 /clang/Basic/FileManager.cpp
parentb6738ec361a3886e6d4c14837edd096a82cefd7a (diff)
downloadbcm5719-llvm-9561a0b3e7d65522086d703c170e6b0e41edf02a.tar.gz
bcm5719-llvm-9561a0b3e7d65522086d703c170e6b0e41edf02a.zip
Add support for target-independent builtin functions (like __builtin_abs),
whose decl objects are lazily created the first time they are referenced. Builtin functions are described by the clang/AST/Builtins.def file, which makes it easy to add new ones. This is missing two important pieces: 1. Support for the rest of the gcc builtins. 2. Support for target-specific builtins (e.g. __builtin_ia32_emms). Just adding this builtins reduces the number of implicit function definitions by 6, reducing the # diagnostics from 550 to 544 when parsing carbon.h. I need to add all the i386-specific ones to eliminate several hundred more. ugh. llvm-svn: 39327
Diffstat (limited to 'clang/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud