forked from OSchip/llvm-project
[Analyzer] Remove warning caused by commit `rGe22ace8ba2b0`
This commit is contained in:
parent
665dbe91f2
commit
54f9ddd806
|
@ -23,9 +23,6 @@ class TestReturnValueUnderConstructionChecker
|
|||
: public Checker<check::PostCall> {
|
||||
public:
|
||||
void checkPostCall(const CallEvent &Call, CheckerContext &C) const {
|
||||
// We are checking the invocation of `returnC` which returns an object
|
||||
// by value.
|
||||
const IdentifierInfo *ID = Call.getCalleeIdentifier();
|
||||
// Only calls with origin expression are checked. These are `returnC()`
|
||||
// and C::C().
|
||||
if (!Call.getOriginExpr())
|
||||
|
|
Loading…
Reference in New Issue