llvm-project/clang/lib
Anton Yartsev 6e49925622 [analyzer] Check allocation family more precise.
The statement passed to isTrackedFamily() might be a user defined function calling malloc; in this case we got AF_NONE family for this function.
Now the allocation family is derived from Sym, that holds a family of a real allocator.

This commit is also a movement towards getting rid of tracking memory allocating by unknown means.

llvm-svn: 178834
2013-04-05 02:25:02 +00:00
..
ARCMigrate [arcmt] Copy the diagnostics so we don't have to worry about invaliding iterators from the diagnostic list. 2013-04-01 21:12:30 +00:00
AST Make helpers static & 80 cols. 2013-04-04 17:07:04 +00:00
ASTMatchers Implements memoization for ancestor matching. 2013-03-14 16:33:21 +00:00
Analysis Thread safety analysis: Turn on checking for non-scalar types by default. 2013-04-01 17:47:37 +00:00
Basic Add support for __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2,4,8} on x86. 2013-04-04 23:53:43 +00:00
CodeGen Add some documentation for PNaClABIInfo. 2013-04-04 22:49:35 +00:00
Driver Initial support for struct-path aware TBAA. 2013-04-04 21:53:22 +00:00
Edit Include llvm::Optional in clang/Basic/LLVM.h 2013-02-20 22:23:23 +00:00
Format Fix bug discovered with address sanitizer. 2013-04-04 19:31:00 +00:00
Frontend Initial support for struct-path aware TBAA. 2013-04-04 21:53:22 +00:00
FrontendTool <rdar://problem/13509689> Introduce -module-file-info option that provides information about a particular module file. 2013-03-27 16:47:18 +00:00
Headers Add tests that build modules for our builtin headers, and fix two buglets exposed by doing so. 2013-04-04 02:55:24 +00:00
Lex [preprocessor] Minor optimization following r178671. 2013-04-03 21:29:07 +00:00
Parse Make the ObjC attributes diagnostics a bit more informative. 2013-04-04 00:15:10 +00:00
Rewrite Add 178663 back. 2013-04-03 19:27:57 +00:00
Sema Revert 178811 until I fix the unit tests. 2013-04-04 23:45:52 +00:00
Serialization Pare back r164351 somewhat. The problem that change was addressing was that we 2013-04-03 22:49:41 +00:00
StaticAnalyzer [analyzer] Check allocation family more precise. 2013-04-05 02:25:02 +00:00
Tooling ClangTool output cleanup 2013-03-15 20:14:01 +00:00
CMakeLists.txt Initial version of formatting library. 2012-12-03 18:12:45 +00:00
Makefile Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user 2012-12-13 16:09:42 +00:00