[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.
----------------
kbeyls wrote:
It might be useful to add something here to cover "Aim to describe what the code is trying to do and why, not how it does it at a micro level" from our CodingStandards. Basically, I'd like to say "make sure that non-obvious code has comments explaining what it is aiming to do and why"
https://github.com/llvm/llvm-project/pull/165783
More information about the llvm-commits
mailing list