martong added inline comments.
================
Comment at:
clang/unittests/StaticAnalyzer/TestReturnValueUnderConstruction.cpp:24
+public:
+ void checkPostCall(const CallEvent &Call, CheckerContext &C) const {
+ if (!Call.getOriginExpr())
----------------
I assume this tests this call expression: `returnC(1)` . But this is absolutely
not trivial from the test code, could you please make this cleaner?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80366/new/
https://reviews.llvm.org/D80366
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits