[llvm] [GitHub] Add Copilot review instructions for LLDB (PR #165783)

Kristof Beyls via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 30 16:10:37 PDT 2025


================
@@ -0,0 +1,76 @@
+---
+applyTo: lldb/**/*
+---
+
+When reviewing code, focus on:
+
+## Language, Libraries & Standards
+
+- Target C++17 and avoid vendor-specific extensions.
+- For Python scripts, follow PEP 8.
+- Prefer standard library or LLVM support libraries instead of reinventing data structures.
+
+## Comments & Documentation
+
+- Each source file should include the standard LLVM file header.
+- Header files must have proper header guards.
+- Non-trivial classes and public methods should have Doxygen documentation.
+- Use `//` or `///` comments normally; avoid block comments unless necessary.
----------------
kbeyls wrote:

By the point I got to this point (reading or Coding Standards document in parallel), I'm guessing you're leaving out everything that is checked/covered by clang-format. Is that correct? If so, maybe that's a "design decision" that would be good to document at least in the commit message?
Would it make sense to also have that in this instructions.md file at the top?

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


More information about the llvm-commits mailing list