Home
last modified time | relevance | path

Searched refs:VerifyPrefixes (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticOptions.h125 std::vector<std::string> VerifyPrefixes; variable
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp429 const auto &Prefixes = Diags.getDiagnosticOptions().VerifyPrefixes; in ParseDirective()
885 std::string Prefix = *Diags.getDiagnosticOptions().VerifyPrefixes.begin(); in PrintUnexpected()
918 std::string Prefix = *Diags.getDiagnosticOptions().VerifyPrefixes.begin(); in PrintExpected()
H A DCompilerInvocation.cpp2293 static bool checkVerifyPrefixes(const std::vector<std::string> &VerifyPrefixes, in checkVerifyPrefixes() argument
2296 for (const auto &Prefix : VerifyPrefixes) { in checkVerifyPrefixes()
2375 llvm::is_contained(Opts.VerifyPrefixes, "expected")) in GenerateDiagnosticArgs()
2378 for (const auto &Prefix : Opts.VerifyPrefixes) in GenerateDiagnosticArgs()
2470 Opts.VerifyPrefixes = Args.getAllArgValues(OPT_verify_EQ); in ParseDiagnosticArgs()
2472 Opts.VerifyPrefixes.push_back("expected"); in ParseDiagnosticArgs()
2475 if (!checkVerifyPrefixes(Opts.VerifyPrefixes, *Diags)) in ParseDiagnosticArgs()
2478 llvm::sort(Opts.VerifyPrefixes); in ParseDiagnosticArgs()