[clang-tools-extra] [clang-doc] fix flaky test in clang-doc (PR #101387)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 1 00:29:05 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 03e1eb29e7169ddb0804b1d0b9d71d6d2aaf531d 114a5721e593a9b57ef31ed9856d0bce4a62da94 --extensions cpp -- clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang-tools-extra/clang-doc/tool/ClangDocMain.cpp b/clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
index 9a540a5061..80acdc3366 100644
--- a/clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
+++ b/clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
@@ -287,7 +287,7 @@ Example usage for a project using a compile commands database:
auto R = USRToBitcode.try_emplace(Key, std::vector<StringRef>());
R.first->second.emplace_back(Value);
});
-
+
for (auto &Entry : USRToBitcode) {
std::vector<llvm::StringRef> &Bitcode = Entry.second;
std::sort(Bitcode.begin(), Bitcode.end(),
``````````
</details>
https://github.com/llvm/llvm-project/pull/101387
More information about the cfe-commits
mailing list