Convenience conversion from the CheckerLibrary type. Note: if a related CompilerLibrary exists, prefer to use that to include expected parser configuration.
| 66 | // Note: if a related CompilerLibrary exists, prefer to use that to |
| 67 | // include expected parser configuration. |
| 68 | static CompilerLibrary FromCheckerLibrary(CheckerLibrary checker_library) { |
| 69 | return CompilerLibrary(std::move(checker_library.id), |
| 70 | /*configure_parser=*/nullptr, |
| 71 | std::move(checker_library.configure)); |
| 72 | } |
| 73 | |
| 74 | // For backwards compatibility. To be removed. |
| 75 | // NOLINTNEXTLINE(google-explicit-constructor) |
nothing calls this directly
no test coverage detected