[clang-tools-extra] [clang-doc][NFC] Fix missing documentation for EndLineNumber (PR #138051)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 30 16:42:05 PDT 2025
https://github.com/ilovepi created https://github.com/llvm/llvm-project/pull/138051
None
>From ee27ca7f7275b334e16312fc1cf75d6401249691 Mon Sep 17 00:00:00 2001
From: Paul Kirth <paulkirth at google.com>
Date: Tue, 29 Apr 2025 18:16:45 -0700
Subject: [PATCH] [clang-doc][NFC] Fix missing documentation for EndLineNumber
---
clang-tools-extra/clang-doc/Representation.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/clang-tools-extra/clang-doc/Representation.h b/clang-tools-extra/clang-doc/Representation.h
index b0b34fc6f08dd..d9b47cff8609d 100644
--- a/clang-tools-extra/clang-doc/Representation.h
+++ b/clang-tools-extra/clang-doc/Representation.h
@@ -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.
+ int EndLineNumber = 0; // End line number of this Location.
SmallString<32> Filename; // File for this Location.
bool IsFileInRootDir = false; // Indicates if file is inside root directory
};
More information about the cfe-commits
mailing list