zaks.anna added a comment. Test cases need to be small and self contained. You might be having a problem with reproducing with a simple test case, where you define QCoreApplication::postEvent in the test file because it is not considered to be in the system header. You can use special pragmas for that. See ./test/Analysis/Inputs, where we have a bunch of .h files declaring system APIs. Please add another file for QT there.
================ Comment at: lib/StaticAnalyzer/Checkers/MallocChecker.cpp:2516 @@ +2515,3 @@ + return true; + } + ---------------- http://llvm.org/docs/CodingStandards.html#id16 http://reviews.llvm.org/D14170 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits