llvm-project/clang/lib/StaticAnalyzer/Frontend
Balazs Benics d3e14fafc6 [analyzer][NFC] Display the correct function name even in crash dumps
The `-analyzer-display-progress` displayed the function name of the
currently analyzed function. It differs in C and C++. In C++, it
prints the argument types as well in a comma-separated list.
While in C, only the function name is displayed, without the brackets.
E.g.:

  C++: foo(), foo(int, float)
  C:   foo

In crash traces, the analyzer dumps the location contexts, but the
string is not enough for `-analyze-function` in C++ mode.
This patch addresses the issue by dumping the proper function names
even in stack traces.

Reviewed By: NoQ

Differential Revision: https://reviews.llvm.org/D105708
2021-07-12 09:06:46 +02:00
..
AnalysisConsumer.cpp [analyzer][NFC] Display the correct function name even in crash dumps 2021-07-12 09:06:46 +02:00
AnalyzerHelpFlags.cpp [analyzer][NFC] Move the data structures from CheckerRegistry to the Core library 2020-07-04 12:31:51 +02:00
CMakeLists.txt [openmp] Base of tablegen generated OpenMP common declaration 2020-06-23 10:32:32 -04:00
CheckerRegistry.cpp [analyzer] Force dependency checkers to be hidden 2020-07-06 13:05:45 +02:00
CreateCheckerManager.cpp [analyzer][NFC] Move the data structures from CheckerRegistry to the Core library 2020-07-04 12:31:51 +02:00
FrontendActions.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
ModelConsumer.cpp
ModelInjector.cpp Move ASTRecordReader into its own header; NFC. 2019-12-14 03:28:23 -05:00
ModelInjector.h