| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | QualifierAlignmentFixer.cpp | 70 tooling::Replacements Fixes; in analyze() local 76 Fixes = Fixes.merge(PassFixes.first); in analyze() 92 for (const tooling::Replacement &Fix : Fixes) { in analyze() 110 auto Err = Fixes.add(Replacement); in replaceToken() 123 replaceToken(SourceMgr, Fixes, Range, ""); in removeToken() 236 removeToken(SourceMgr, Fixes, Tok); in analyzeRight() 299 removeToken(SourceMgr, Fixes, Tok); in analyzeRight() 388 removeToken(SourceMgr, Fixes, Next); in analyzeLeft() 397 removeToken(SourceMgr, Fixes, Next); in analyzeLeft() 431 tooling::Replacements Fixes; in analyze() local [all …]
|
| H A D | UsingDeclarationsSorter.cpp | 116 const SourceManager &SourceMgr, tooling::Replacements *Fixes) { in endUsingDeclarationBlock() argument 145 auto Err = Fixes->add(tooling::Replacement(SourceMgr, Range, "")); in endUsingDeclarationBlock() 169 auto Err = Fixes->add(tooling::Replacement(SourceMgr, Range, Text)); in endUsingDeclarationBlock() 189 tooling::Replacements Fixes; in analyze() local 195 endUsingDeclarationBlock(&UsingDeclarations, SourceMgr, &Fixes); in analyze() 199 endUsingDeclarationBlock(&UsingDeclarations, SourceMgr, &Fixes); in analyze() 204 endUsingDeclarationBlock(&UsingDeclarations, SourceMgr, &Fixes); in analyze() 209 endUsingDeclarationBlock(&UsingDeclarations, SourceMgr, &Fixes); in analyze() 210 return {Fixes, 0}; in analyze()
|
| H A D | NamespaceEndCommentsFixer.cpp | 222 tooling::Replacements *Fixes) { in addEndComment() argument 225 auto Err = Fixes->add(tooling::Replacement(SourceMgr, Range, EndCommentText)); in addEndComment() 234 tooling::Replacements *Fixes) { in updateEndComment() argument 239 auto Err = Fixes->add(tooling::Replacement(SourceMgr, Range, EndCommentText)); in updateEndComment() 286 tooling::Replacements Fixes; in analyze() local 301 return {Fixes, 0}; in analyze() 336 updateEndComment(EndCommentPrevTok, std::string(), SourceMgr, &Fixes); in analyze() 364 addEndComment(EndCommentPrevTok, EndCommentText, SourceMgr, &Fixes); in analyze() 367 updateEndComment(EndCommentPrevTok, EndCommentText, SourceMgr, &Fixes); in analyze() 371 return {Fixes, 0}; in analyze()
|
| H A D | QualifierAlignmentFixer.h | 77 tooling::Replacements &Fixes, 84 tooling::Replacements &Fixes,
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | SimplifyBooleanExprCheck.cpp | 783 static bool flipDemorganSide(SmallVectorImpl<FixItHint> &Fixes, 800 if (flipDemorganOperator(Fixes, BinOp)) in flipDemorganBinaryOperator() 821 Fixes.push_back(FixItHint::CreateInsertion( in flipDemorganBinaryOperator() 828 if (flipDemorganSide(Fixes, Ctx, BinOp->getLHS(), NewOp) || in flipDemorganBinaryOperator() 829 flipDemorganSide(Fixes, Ctx, BinOp->getRHS(), NewOp)) in flipDemorganBinaryOperator() 842 Fixes.push_back(FixItHint::CreateReplacement( in flipDemorganBinaryOperator() 876 Fixes.push_back( in flipDemorganSide() 940 SmallVector<FixItHint> Fixes; in reportDeMorgan() local 943 Fixes.push_back(FixItHint::CreateRemoval( in reportDeMorgan() 949 if (flipDemorganOperator(Fixes, Inner)) in reportDeMorgan() [all …]
|
| H A D | NonConstParameterCheck.cpp | 156 SmallVector<FixItHint, 8> Fixes; in diagnoseNonConstParameters() local 163 Fixes.push_back(FixItHint::CreateInsertion( in diagnoseNonConstParameters() 167 << Par->getName() << Fixes; in diagnoseNonConstParameters()
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/ |
| H A D | DiagnosticsYaml.h | 43 std::vector<clang::tooling::Replacement> Fixes; in LLVM_YAML_IS_SEQUENCE_VECTOR() 45 llvm::append_range(Fixes, Replacements.second); in LLVM_YAML_IS_SEQUENCE_VECTOR() 47 Io.mapRequired("Replacements", Fixes); in LLVM_YAML_IS_SEQUENCE_VECTOR() 48 for (auto &Fix : Fixes) { in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Diagnostics.cpp | 69 if (!D.Fixes.empty()) in mentionsMainFile() 299 if (Opts.DisplayFixesCount && !D.Fixes.empty()) in mainMessage() 300 OS << " (" << (D.Fixes.size() > 1 ? "fixes" : "fix") << " available)"; in mainMessage() 412 if (!D.Fixes.empty()) { in operator <<() 415 for (auto &Fix : D.Fixes) { in operator <<() 502 for (const auto &Fix : D.Fixes) in toLSPDiags() 527 OutFn(std::move(Main), D.Fixes); in toLSPDiags() 602 for (auto &Fix : Diag.Fixes) in take() 786 LastDiag->Fixes.push_back( in HandleDiagnostic() 815 LastDiag->Fixes.insert(LastDiag->Fixes.end(), ExtraFixes.begin(), in HandleDiagnostic() [all …]
|
| H A D | IncludeFixer.cpp | 285 std::vector<Fix> Fixes; in fixIncompleteType() local 290 Fixes = fixesForSymbols(Syms); in fixIncompleteType() 292 return Fixes; in fixIncompleteType() 313 std::vector<Fix> Fixes; in fixesForSymbols() local 326 Fixes.push_back(std::move(*Fix)); in fixesForSymbols() 334 return Fixes; in fixesForSymbols() 607 std::vector<Fix> Fixes; in lookupCached() local 612 Fixes = fixesForSymbols(Syms); in lookupCached()
|
| H A D | IncludeCleaner.cpp | 504 D.Fixes.emplace_back(); in issueUnusedIncludesDiagnostics() 505 D.Fixes.back().Message = "remove #include directive"; in issueUnusedIncludesDiagnostics() 506 D.Fixes.back().Edits.emplace_back(); in issueUnusedIncludesDiagnostics() 507 D.Fixes.back().Edits.back().range.start.line = Inc->HashLine; in issueUnusedIncludesDiagnostics() 508 D.Fixes.back().Edits.back().range.end.line = Inc->HashLine + 1; in issueUnusedIncludesDiagnostics()
|
| H A D | Diagnostics.h | 107 std::vector<Fix> Fixes; member
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | DiagnosticsYamlTest.cpp | 167 std::vector<Replacement> Fixes; in TEST() local 170 Fixes.push_back(Replacement); in TEST() 173 return Fixes; in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/ |
| H A D | ClangTidyTest.h | 147 tooling::Replacements Fixes; 153 auto Err = Fixes.add(Fix); 164 auto Result = tooling::applyAllReplacements(Code, Fixes);
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | DiagnosticsTests.cpp | 49 return Field(&Diag::Fixes, ElementsAre(FixMatcher)); in withFix() 54 return Field(&Diag::Fixes, UnorderedElementsAre(FixMatcher1, FixMatcher2)); in withFix() 990 D.Fixes.push_back(F); in TEST() 1018 [&](clangd::Diagnostic LSPDiag, ArrayRef<clangd::Fix> Fixes) { in TEST() argument 1021 std::vector<clangd::Fix>(Fixes.begin(), Fixes.end())}); in TEST() 1037 [&](clangd::Diagnostic LSPDiag, ArrayRef<clangd::Fix> Fixes) { in TEST() argument 1040 std::vector<clangd::Fix>(Fixes.begin(), Fixes.end())}); in TEST() 1341 if (D.Fixes.size() != 1) { in TEST() 1345 EXPECT_EQ(D.Fixes[0].Message, std::string("Include \"a.h\" for symbol X")); in TEST()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | visibility2.ll | 3 ; Fixes <rdar://problem/9429892>.
|
| H A D | nobt.ll | 5 ; Fixes 20040709-[12].c in gcc testsuite.
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | ReleaseNotes.rst | 90 Bug Fixes 100 arithmetic diagnostics. Fixes `Issue 54444 119 Fixes `Issue 28985 <https://github.com/llvm/llvm-project/issues/28985>`_. 121 qualifier when determining the type of the assignment expression. Fixes 125 ``-Watomic-access`` warning which defaults to an error. Fixes 150 ambiguous call and an error. Fixes 159 Fixes `Issue 50216 <https://github.com/llvm/llvm-project/issues/50216>`_. 201 Fixes `Issue 56310 <https://github.com/llvm/llvm-project/issues/56310>`_. 209 Fixes `MSVC STL Issue 2862 <https://github.com/microsoft/STL/issues/2862>`_. 294 Fixes `Issue 55306 <https://github.com/llvm/llvm-project/issues/55306>`_. [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/ |
| H A D | nuw.ll | 3 ; Fixes PR43828
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | GitHub.rst | 18 Backporting Fixes to the Release Branches
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/ |
| H A D | virtual-class-destructor.rst | 17 Fixes are available for user-declared and implicit destructors that are either
|
| /llvm-project-15.0.7/llvm/utils/phabricator/ |
| H A D | 0001-Fix-PHP-8.1-incompatibility-with-arc-patch-D-12345.patch | 6 Fixes the following observed error with PHP 8.1:
|
| /llvm-project-15.0.7/llvm/ |
| H A D | CREDITS.TXT | 82 D: Fixes to the Reassociation pass, various improvement patches 403 D: Fixes and improvements to the AArch64 backend 444 D: Fixes and improvements to the ARM fast-isel pass 445 D: Fixes and improvements to the AArch64 backend
|
| /llvm-project-15.0.7/flang/docs/ |
| H A D | ReleaseNotes.md | 21 ## Bug Fixes
|
| /llvm-project-15.0.7/libcxx/docs/Status/ |
| H A D | Cxx17Papers.csv | 67 "`p0358r1 <https://wg21.link/p0358r1>`__","LWG","Fixes for not_fn","Oulu","|Complete|","3.9" 110 "`P0623R0 <https://wg21.link/P0623R0>`__","LWG","Final C++17 Parallel Algorithms Fixes","Kona","",""
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/ConstProp/ |
| H A D | fma.ll | 4 ; Fixes PR20832
|