llvm-project/clang/lib/Sema
Ted Kremenek 5932c35138 Add builtin definition for scanf, including extending the builtin encoding to
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
2010-07-16 02:11:15 +00:00
..
AnalysisBasedWarnings.cpp Add a hack to silence warnings about failing to return from functions after 2010-05-17 23:51:52 +00:00
AnalysisBasedWarnings.h Remove micro-optimization for not issueing CFG-based warnings for 'static inline' functions 2010-04-08 18:51:44 +00:00
CMakeLists.txt Update CMake build system for ARM NEON generation. 2010-06-17 15:17:41 +00:00
CXXFieldCollector.h ActOnTagDefinitionError is supposed to 'unwind' ActOnTagStartDefinition, not 2010-03-17 19:25:57 +00:00
CodeCompleteConsumer.cpp Introduce priorities into the code-completion results. 2010-05-26 22:00:08 +00:00
IdentifierResolver.cpp Optimize the implementation of IdDeclInfo pooling in the IdentifierResolver. 2010-02-15 19:38:00 +00:00
IdentifierResolver.h Eliminate dead code. 2010-01-02 21:44:36 +00:00
JumpDiagnostics.cpp Be a bit more careful with undefined CXXRecordDecls. Fixes 2010-07-01 00:21:21 +00:00
Lookup.h Fix a point of semantics with using declaration hiding: method templates 2010-06-16 08:42:20 +00:00
Makefile Makefiles: Set Clang CPP compiler flags in a single location, instead of scattered throughout the project Makefiles. 2010-06-08 20:44:43 +00:00
ParseAST.cpp push some source location information down through the compiler, 2010-04-20 20:35:58 +00:00
Sema.cpp When looking for an entity's Scope, don't consider scopes that can't contain declarations. Fixes PR7594. 2010-07-08 23:07:34 +00:00
Sema.h When there are extra or missing template parameter lists in a template 2010-07-14 23:14:12 +00:00
SemaAccess.cpp Partial fix for PR7267 based on comments by John McCall on an earlier patch. 2010-06-28 08:39:25 +00:00
SemaAttr.cpp Sema: Fix comment, apparently #pragma options align=power is just the same as 2010-05-28 20:08:00 +00:00
SemaCXXCast.cpp Introduce a new cast kind for an "lvalue bitcast", which handles 2010-07-13 23:17:26 +00:00
SemaCXXScopeSpec.cpp When performing substitution of template arguments within the body of 2010-07-08 18:37:38 +00:00
SemaChecking.cpp When forming a function call or message send expression, be sure to 2010-07-13 08:18:22 +00:00
SemaCodeComplete.cpp Only filter out names reserved for the implementation (e.g., __blah or 2010-07-14 17:44:04 +00:00
SemaDecl.cpp Add builtin definition for scanf, including extending the builtin encoding to 2010-07-16 02:11:15 +00:00
SemaDeclAttr.cpp Add support for differentiating between attributes ignored when handled and 2010-07-08 09:42:26 +00:00
SemaDeclCXX.cpp A using declaration can redeclare a typedef to the same type. These 2010-07-07 23:08:52 +00:00
SemaDeclObjC.cpp Patch to provide separate ASTs for multiple ObjC class extension 2010-06-22 23:20:40 +00:00
SemaExceptionSpec.cpp Disable exception-spec compatibility checking under -fno-exceptions. 2010-05-28 08:37:35 +00:00
SemaExpr.cpp restrict the && -> & warning to cover a case daniel noted. 2010-07-15 00:26:43 +00:00
SemaExprCXX.cpp Whenever we're creating an expression that is typically an rvalue 2010-07-13 18:40:04 +00:00
SemaExprObjC.cpp When forming a function call or message send expression, be sure to 2010-07-13 08:18:22 +00:00
SemaInit.cpp Whenever we're creating an expression that is typically an rvalue 2010-07-13 18:40:04 +00:00
SemaInit.h Use MaybeCreateCXXExprWithTemporaries for potential destruction of 2010-06-07 16:14:00 +00:00
SemaLookup.cpp Introduce -f{no-}spell-checking options to enable/disable 2010-07-09 17:35:33 +00:00
SemaObjCProperty.cpp Don't error when doing default property synthesis 2010-07-14 18:11:52 +00:00
SemaOverload.cpp When determining whether an overload set with explicit template 2010-07-14 23:20:53 +00:00
SemaOverload.h An identity conversion is better than any non-identity 2010-05-23 22:10:15 +00:00
SemaStmt.cpp Make the "unused result" warning a warning about run-time behavior, so 2010-07-15 18:47:04 +00:00
SemaTemplate.cpp When there are extra or missing template parameter lists in a template 2010-07-14 23:14:12 +00:00
SemaTemplate.h When performing substitution of template arguments within the body of 2010-07-08 18:37:38 +00:00
SemaTemplateDeduction.cpp Split DependentNameType into two types. DependentNameType represents the 2010-06-11 00:33:02 +00:00
SemaTemplateInstantiate.cpp Set DeclContext of ParamVarDecl only. No need 2010-07-13 21:05:02 +00:00
SemaTemplateInstantiateDecl.cpp Set DeclContext of ParamVarDecl only. No need 2010-07-13 21:05:02 +00:00
SemaType.cpp Improve diagnostics for the "type qualifier on return type has no 2010-07-13 08:50:30 +00:00
TargetAttributesSema.cpp Don't emit a warning about a dllimport attribute being used in a typedef 2010-02-21 05:12:56 +00:00
TargetAttributesSema.h Generalize target weirdness handling having proper layering in mind: 2010-01-10 12:58:08 +00:00
TreeTransform.h More block instantiation stuff. Set variable/param DeclContext 2010-07-13 20:05:58 +00:00