Lines Matching refs:make_unique
46 std::make_unique<Diagnostic>(msg, severity, origin, custom_diag_id); in TEST()
62 mgr.AddDiagnostic(std::make_unique<FixItDiag>("no fixit", false)); in TEST()
65 mgr.AddDiagnostic(std::make_unique<FixItDiag>("fixit", true)); in TEST()
68 mgr.AddDiagnostic(std::make_unique<FixItDiag>("no fixit", false)); in TEST()
71 mgr.AddDiagnostic(std::make_unique<FixItDiag>("fixit", true)); in TEST()
83 std::make_unique<TextDiag>("abc", eDiagnosticSeverityError)); in TEST()
92 std::make_unique<TextDiag>("b\nc", eDiagnosticSeverityError)); in TEST()
99 std::make_unique<TextDiag>("abc", eDiagnosticSeverityError)); in TEST()
102 std::make_unique<TextDiag>("def", eDiagnosticSeverityError)); in TEST()
111 std::make_unique<TextDiag>("foo", eDiagnosticSeverityError)); in TEST()
113 std::make_unique<TextDiag>("bar", eDiagnosticSeverityWarning)); in TEST()
116 std::make_unique<TextDiag>("baz", eDiagnosticSeverityRemark)); in TEST()
125 std::make_unique<TextDiag>("baz", eDiagnosticSeverityRemark)); in TEST()
127 std::make_unique<TextDiag>("bar", eDiagnosticSeverityWarning)); in TEST()
129 std::make_unique<TextDiag>("foo", eDiagnosticSeverityError)); in TEST()
145 std::make_unique<TextDiag>("foo", eDiagnosticSeverityError)); in TEST()
147 std::make_unique<TextDiag>("bar", eDiagnosticSeverityError)); in TEST()
158 std::make_unique<TextDiag>("bar", eDiagnosticSeverityError)); in TEST()
162 std::make_unique<TextDiag>("foo", eDiagnosticSeverityError)); in TEST()