|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| 
| 
| 
| | function. The implementations are identical, except for the format arguments being searched for.
No functional changes intended.
llvm-svn: 198446 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | We already have builtins that are only available in GNU mode, so this
mirrors that.
Reviewers: rsmith
Differential Revision: http://llvm-reviews.chandlerc.com/D2128
llvm-svn: 194615 | 
| | 
| 
| 
| | llvm-svn: 186899 | 
| | 
| 
| 
| | llvm-svn: 186106 | 
| | 
| 
| 
| 
| 
| | Fixes PR16138.
llvm-svn: 183015 | 
| | 
| 
| 
| 
| 
| | which is wrong here.
llvm-svn: 170721 | 
| | 
| 
| 
| 
| 
| | single attribute in the future.
llvm-svn: 170500 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | uncovered.
This required manually correcting all of the incorrect main-module
headers I could find, and running the new llvm/utils/sort_includes.py
script over the files.
I also manually added quite a few missing headers that were uncovered by
shuffling the order or moving headers up to be main-module-headers.
llvm-svn: 169237 | 
| | 
| 
| 
| 
| 
| 
| 
| | include.
Fix all the transitive include users.
llvm-svn: 149783 | 
| | 
| 
| 
| 
| 
| 
| 
| | and language-specific initialization. Use this to allow ASTUnit to
create a preprocessor object *before* loading the AST file. No actual
functionality change.
llvm-svn: 138983 | 
| | 
| 
| 
| 
| 
| 
| 
| | LLVM.h imports
them into the clang namespace.
llvm-svn: 135852 | 
| | 
| 
| 
| | llvm-svn: 134443 | 
| | 
| 
| 
| | llvm-svn: 126063 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | inconsistent with the type that the builtin *should* have, forget
about the builtin altogether: we don't want subsequence analyses,
CodeGen, etc., to think that we have a proper builtin function.
C is protected from errors here because it allows one to use a
library builtin without having a declaration, and detects inconsistent
(re-)declarations of builtins during declaration merging. C++ was
unprotected, and therefore would crash.
Fixes PR8839.
llvm-svn: 122351 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | a specific language. We are adding such language info. by
extensing Builtins.def and via a language flag added
to LIBBUILTIN/BUILTIN and check for that when deciding
a name is builtin or not. Implements //rdar://8689273.
llvm-svn: 120429 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | represent builtins that have the "scanf" attribution (via the format attribute) just
like we do with printf functions.  Follow-up work is needed to add similar support
for fscanf et al.
This is to support format-string checking for scanf functions.
llvm-svn: 108499 | 
| | 
| 
| 
| | llvm-svn: 81346 | 
| | 
| 
| 
| 
| 
| 
| | have target-specific builtins, and do not set the count.
Just default to 0 for these targets.
llvm-svn: 73510 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | registered when PCH wasn't being used.  We should always install (in BuiltinInfo)
information about target-specific builtins, but we shouldn't register any builtin
identifier infos.  This fixes the build of apps that use PCH and target specific
builtins together.
llvm-svn: 73492 | 
| | 
| 
| 
| 
| 
| 
| 
| | preprocessor and initialize it early in clang-cc.  This
ensures that __has_builtin works in all modes, not just
when ASTContext is around.
llvm-svn: 73319 | 
|  | fixes a layering violation in lib/Basic/Targets.cpp.
llvm-svn: 73318 |