Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DUniqueptrResetReleaseCheck.cpp113 std::string DiagText; in check() local
117 DiagText = "prefer ptr1 = std::move(ptr2) over ptr1.reset(ptr2.release())"; in check()
119 DiagText = in check()
124 diag(ResetMember->getExprLoc(), DiagText) << FixItHint::CreateReplacement( in check()
/external/llvm-project/clang/tools/clang-refactor/
DTestSupport.cpp192 llvm::SmallString<100> DiagText; in handleAllResults() local
193 Diag.second.EmitToString(getDiags(), DiagText); in handleAllResults()
194 ErrorMessage = std::string(DiagText); in handleAllResults()
/external/llvm-project/clang/utils/TableGen/
DClangDiagnosticsEmitter.cpp618 S->getName(), DiagText(*this, S->getValueAsString("Substitution"))); in DiagnosticTextBuilder()
650 struct DiagText { struct
662 DiagText(DiagnosticTextBuilder &Builder, StringRef Text) in DiagText() argument
669 DiagText(DiagText &&O) noexcept in DiagText() function
675 ~DiagText() { in ~DiagText() argument
693 StringMap<DiagText> Substitutions;
999 int DiagnosticTextBuilder::DiagText::parseModifier(StringRef &Text) const { in parseModifier()
1011 Piece *DiagnosticTextBuilder::DiagText::parseDiagText(StringRef &Text, in parseDiagText()
1156 DiagText D(*this, Text); in buildForDocumentation()
1174 DiagText D(*this, Text); in buildForDefinition()
/external/llvm-project/clang/tools/clang-import-test/
Dclang-import-test.cpp143 SmallString<16> DiagText; in HandleDiagnostic() local
144 Info.FormatDiagnostic(DiagText); in HandleDiagnostic()
145 llvm::errs() << DiagText << '\n'; in HandleDiagnostic()