[clang-tools-extra] [clang-doc][NFC] Fix missing documentation for EndLineNumber (PR #138051)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Thu May 15 23:07:40 PDT 2025


================
@@ -262,8 +262,8 @@ struct Location {
            std::tie(Other.StartLineNumber, Other.EndLineNumber, Other.Filename);
   }
 
-  int StartLineNumber = 0; // Line number of this Location.
-  int EndLineNumber = 0;
+  int StartLineNumber = 0;      // Line number of this Location.
----------------
ilovepi wrote:

Fair, but I'd say that's fairly typical in LLVM as a whole. The missing  comment for this field stands out more to me than the presence of the other comments. 

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


More information about the cfe-commits mailing list