Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DEasilySwappableParametersCheck.cpp2182 StringRef DiagText; in check() local
2185 DiagText = "%0 adjacent parameters of %1 of convertible types are " in check()
2194 auto Diag = diag(First->getOuterLocStart(), DiagText) in check()
2243 StringRef DiagText; in check() local
2250 DiagText = in check()
2259 diag(LVar->getOuterLocStart(), DiagText, DiagnosticIDs::Note) in check()
2268 StringRef DiagText = "'%0' and '%1' parameters accept and bind the " in check() local
2270 diag(RVar->getOuterLocStart(), DiagText, DiagnosticIDs::Note) in check()
2283 StringRef DiagText = "'%0' and '%1' may be implicitly converted"; in check() local
2285 DiagText = "'%0' and '%1' may be implicitly converted: %2, %3"; in check()
[all …]
/llvm-project-15.0.7/clang/tools/clang-refactor/
H A DTestSupport.cpp192 llvm::SmallString<100> DiagText; in handleAllResults() local
193 Diag.second.EmitToString(getDiags(), DiagText); in handleAllResults()
194 ErrorMessage = std::string(DiagText); in handleAllResults()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp593 S->getName(), DiagText(*this, S->getValueAsString("Substitution"))); in DiagnosticTextBuilder()
625 struct DiagText { struct
637 DiagText(DiagnosticTextBuilder &Builder, StringRef Text) in DiagText() function
653 DiagText(DiagText &&O) noexcept in DiagText() function
659 ~DiagText() { in ~DiagText() argument
677 StringMap<DiagText> Substitutions;
1004 int DiagnosticTextBuilder::DiagText::parseModifier(StringRef &Text) const { in parseModifier()
1016 Piece *DiagnosticTextBuilder::DiagText::parseDiagText(StringRef &Text, in parseDiagText()
1173 DiagText D(*this, Text); in buildForDocumentation()
1191 DiagText D(*this, Text); in buildForDefinition()
/llvm-project-15.0.7/clang/tools/clang-import-test/
H A Dclang-import-test.cpp143 SmallString<16> DiagText; in HandleDiagnostic() local
144 Info.FormatDiagnostic(DiagText); in HandleDiagnostic()
145 llvm::errs() << DiagText << '\n'; in HandleDiagnostic()