| 499 | } |
| 500 | |
| 501 | bool addOutParam(DirectionAnalysisReport &DirectionReport, |
| 502 | const llvm::Module &M, std::string FuncName, unsigned ArgIdx) { |
| 503 | const auto *F = M.getFunction(FuncName); |
| 504 | if (!F) |
| 505 | return false; |
| 506 | |
| 507 | const auto *A = F->getArg(ArgIdx); |
| 508 | if (!A) |
| 509 | return false; |
| 510 | |
| 511 | DirectionReport.set(*A, Dir_Out); |
| 512 | return true; |
| 513 | } |
| 514 | |
| 515 | class TestDFAnalyzer : public TestBase {}; |
| 516 |
no test coverage detected