llvm-project/clang/lib
Ted Kremenek 8ae67871b4 Change subexpressions to be visited in the CFG from left-to-right.
This is a more natural order of evaluation, and it is very important
for visualization in the static analyzer.  Within Xcode, the arrows
will not jump from right to left, which looks very visually jarring.
It also provides a more natural location for dataflow-based diagnostics.

Along the way, we found a case in the analyzer diagnostics where we
needed to indicate that a variable was "captured" by a block.

-fsyntax-only timings on sqlite3.c show no visible performance change,
although this is just one test case.

Fixes <rdar://problem/13016513>

llvm-svn: 174447
2013-02-05 22:00:19 +00:00
..
ARCMigrate [arcmt] Make sure the objc migrators work fine when used with a PCH. 2013-02-05 16:37:00 +00:00
AST DeclPrinter: fix CXXConstructExpr printing with implicit default argument 2013-02-03 23:02:47 +00:00
ASTMatchers Re-design the convenience interfaces on MatchFinder. 2013-02-01 13:41:35 +00:00
Analysis Change subexpressions to be visited in the CFG from left-to-right. 2013-02-05 22:00:19 +00:00
Basic Add some missing PPC cpus 2013-02-01 20:23:10 +00:00
CodeGen Fix typo in comment 2013-02-05 09:06:17 +00:00
Driver Driver and option support for -gsplit-dwarf. This is a part of 2013-02-05 07:29:57 +00:00
Edit Implement OpenCL event_t as Clang builtin type, including event_t related OpenCL restrictions (OpenCL 1.2 spec 6.9) 2013-01-20 12:31:11 +00:00
Format Formatter: Detect ObjC method expressions after unary operators. 2013-02-05 16:21:00 +00:00
Frontend [frontend] Don't put a PCH/PTH filename into the set of includes in the preprocessor options; 2013-02-05 16:36:52 +00:00
FrontendTool use early returns to simplify and de-nest 2013-01-06 07:49:41 +00:00
Headers C11: Provide the missing half of <stdalign.h> 2013-01-30 06:33:54 +00:00
Lex Introduce SourceManager::PredefinesFileID, to allow each checking of whether 2013-02-01 16:36:07 +00:00
Parse Micro change: moved '{' for better readability (+don't confuse -Wimplicit-fallthrough) 2013-02-01 18:28:04 +00:00
Rewrite Rework the traversal of Objective-C categories and extensions to 2013-01-16 23:00:23 +00:00
Sema Test for virtual instead of pure here. It has the exact same effect, and John 2013-02-05 06:20:31 +00:00
Serialization Remove dead code related to the now defunct PCH stat cache. 2013-02-05 06:21:59 +00:00
StaticAnalyzer Change subexpressions to be visited in the CFG from left-to-right. 2013-02-05 22:00:19 +00:00
Tooling Nuke SetUpBuildDumpLog. 2013-01-20 01:58:28 +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