llvm-project/clang/lib/Analysis
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
..
plugins
AnalysisDeclContext.cpp [analyzer][NFC] Display the correct function name even in crash dumps 2021-07-12 09:06:46 +02:00
BodyFarm.cpp [clang] NFC: Rename rvalue to prvalue 2021-06-09 12:27:10 +02:00
CFG.cpp
CFGReachabilityAnalysis.cpp
CFGStmtMap.cpp
CMakeLists.txt
CallGraph.cpp
CalledOnceCheck.cpp [clang] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
CloneDetection.cpp
CocoaConventions.cpp
CodeInjector.cpp
ConstructionContext.cpp
Consumed.cpp
Dominators.cpp
ExprMutationAnalyzer.cpp
IssueHash.cpp
LiveVariables.cpp
MacroExpansionContext.cpp PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
ObjCNoReturn.cpp
PathDiagnostic.cpp
PostOrderCFGView.cpp
ProgramPoint.cpp
ReachableCode.cpp
RetainSummaryManager.cpp [clang] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
ThreadSafety.cpp Thread safety analysis: Rename parameters of ThreadSafetyAnalyzer::intersectAndWarn (NFC) 2021-06-29 23:56:52 +02:00
ThreadSafetyCommon.cpp [ADT] Remove APInt/APSInt toString() std::string variants 2021-06-11 13:19:15 +01:00
ThreadSafetyLogical.cpp
ThreadSafetyTIL.cpp
UninitializedValues.cpp