]> granicus.if.org Git - clang/commit
[analyzer] exploded-graph-rewriter: Improve source location dumps.
authorArtem Dergachev <artem.dergachev@gmail.com>
Fri, 12 Jul 2019 02:10:33 +0000 (02:10 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Fri, 12 Jul 2019 02:10:33 +0000 (02:10 +0000)
commitdaf71df56f8ca0a5b002b44cf9b370167a026993
tree5d090e67640022bfe25cb96927543800193a1fd1
parentf58a9dac73b7b5f1bb8cad13b73285b2e1af66c9
[analyzer] exploded-graph-rewriter: Improve source location dumps.

- Correctly display macro expansion and spelling locations.
- Use the same procedure to display location context call site locations.
- Display statement IDs for program points.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365861 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/JsonSupport.h
lib/Analysis/AnalysisDeclContext.cpp
lib/Analysis/ProgramPoint.cpp
test/Analysis/dump_egraph.cpp
test/Analysis/exploded-graph-rewriter/environment.dot
test/Analysis/exploded-graph-rewriter/environment_diff.dot
test/Analysis/exploded-graph-rewriter/macros.c [new file with mode: 0644]
test/Analysis/exploded-graph-rewriter/program_points.dot
test/Analysis/expr-inspection.c
utils/analyzer/exploded-graph-rewriter.py