aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorKirstóf Umann <dkszelethus@gmail.com>2020-04-05 19:53:22 +0200
committerKirstóf Umann <dkszelethus@gmail.com>2020-05-21 12:54:56 +0200
commiteeff1a970a6bb09d3c046313e229e2871929cd63 (patch)
tree4d18b0cf0e9beadde1df7159004b2cbf7fa5c266 /llvm/lib/Support/StringRef.cpp
parentfee5a9a6ea1369aafa9adc12cbaaee63e7d78431 (diff)
downloadllvm-eeff1a970a6bb09d3c046313e229e2871929cd63.zip
llvm-eeff1a970a6bb09d3c046313e229e2871929cd63.tar.gz
llvm-eeff1a970a6bb09d3c046313e229e2871929cd63.tar.bz2
[analyzer][CallAndMessage][NFC] Split up checkPreCall
The patch aims to use CallEvents interface in a more principled manner, and also to highlight what this checker really does. It in fact checks for 5 different kinds of errors (from checkPreCall, that is): * Invalid function pointer related errors * Call of methods from an invalid C++ this object * Function calls with incorrect amount of parameters * Invalid arguments for operator delete * Pass of uninitialized values to pass-by-value parameters In a previous patch I complained that this checker is responsible for emitting a lot of different diagnostics all under core.CallAndMessage's name, and this patch shows where we could start to assign different diagnostics to different entities. Differential Revision: https://reviews.llvm.org/D77846
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions