Index: clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp =================================================================== --- clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp +++ clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp @@ -743,7 +743,7 @@ QualType ReceiverType = MessageExpr->getReceiverType(); const auto *ReceiverObjectPtrType = - ReceiverType->getAs(); + ReceiverType->castAs(); // Do this "devirtualization" on instance and class methods only. Trust the // static type on super and super class calls.