llvm-project/clang/test/Sema
Chris Lattner b87b1b36ee initial support for checking format strings, patch by Ted Kremenek:
"I've coded up some support in clang to flag warnings for non-constant format strings used in calls to printf-like functions (all the functions listed in "man fprintf").  Non-constant format strings are a source of many security exploits in C/C++ programs, and I believe are currently detected by gcc using the flag -Wformat-nonliteral."

llvm-svn: 41003
2007-08-10 20:18:51 +00:00
..
arg-duplicate.c Fix off-by-one error when emitting diagnostics. Also, make diagnostic 2007-07-21 03:09:58 +00:00
arg-invalid.c testcase from neil 2007-07-21 05:32:22 +00:00
array-constraint.c oops, this is the real fix. 2007-08-02 22:41:43 +00:00
carbon.c the sse intrinsics are missing, leading to errors. 2007-08-04 00:19:10 +00:00
cxx-references.cpp Fix references: 2007-07-17 03:52:31 +00:00
decl-invalid.c Fix a couple of bugs, add some new cool stuff. 2007-07-25 00:24:17 +00:00
default.c Two fixes: 2007-07-21 03:00:26 +00:00
format-strings.c initial support for checking format strings, patch by Ted Kremenek: 2007-08-10 20:18:51 +00:00
i-c-e1.c new testcase 2007-06-08 17:58:14 +00:00
i-c-e2.c Remove an extraneous QualType from CastExpr, it's type is always 2007-07-15 23:54:50 +00:00
implicit-def.c new testcase 2006-11-20 07:03:41 +00:00
implicit-int.c Unspecified type specs default to int. This fixes a crash 2007-07-13 21:02:29 +00:00
stmt_exprs.c implement ast building and trivial semantic analysis of stmt exprs. 2007-07-24 16:58:17 +00:00
switch-duplicate-defaults.c Refactor switch analysis to make it possible to detect duplicate case values 2007-07-22 07:07:56 +00:00
switch.c correctly verify that default and case are in a switchstmt, 2007-07-23 17:05:23 +00:00
typedef-retain.c I forgot to check this in earlier 2007-07-17 04:58:06 +00:00
unused-expr.c New testcase for unused expression analysis 2007-06-27 05:58:33 +00:00
void_arg.c move void argument checking from the parser to the semantic analysis stage. 2006-12-03 02:43:54 +00:00