Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp440 StringRef DToken = PH.Match(); in ParseDirective() local
454 if (DToken.consume_back("-re")) { in ParseDirective()
462 if (DToken.ends_with(DType = "-error")) in ParseDirective()
464 else if (DToken.ends_with(DType = "-warning")) in ParseDirective()
466 else if (DToken.ends_with(DType = "-remark")) in ParseDirective()
468 else if (DToken.ends_with(DType = "-note")) in ParseDirective()
470 else if (DToken.ends_with(DType = "-no-diagnostics")) { in ParseDirective()
476 DToken = DToken.substr(0, DToken.size()-DType.size()); in ParseDirective()
481 if (!std::binary_search(Prefixes.begin(), Prefixes.end(), DToken)) in ParseDirective()