[llvm] Allow for mixing source/no-source DIFiles in one CU (PR #73877)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 16:13:03 PST 2023


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 2e7f47d4a8a5206fbc565d3eb8c1595c2cb875f8 ec1649f74ebae11d4cff2011bb0904de24160bc6 -- llvm/include/llvm/MC/MCDwarf.h llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp llvm/lib/IR/Verifier.cpp llvm/lib/MC/MCDwarf.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/include/llvm/MC/MCDwarf.h b/llvm/include/llvm/MC/MCDwarf.h
index 43698533b3..18056c5fdf 100644
--- a/llvm/include/llvm/MC/MCDwarf.h
+++ b/llvm/include/llvm/MC/MCDwarf.h
@@ -266,6 +266,7 @@ struct MCDwarfLineTableHeader {
   std::string CompilationDir;
   MCDwarfFile RootFile;
   bool HasAnySource = false;
+
 private:
   bool HasAllMD5 = true;
   bool HasAnyMD5 = false;

``````````

</details>


https://github.com/llvm/llvm-project/pull/73877


More information about the llvm-commits mailing list