[Lldb-commits] [PATCH] D100962: [lldb/Utility] Add SourceLocationSpec class (NFC)
Med Ismail Bennani via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 21 08:18:34 PDT 2021
mib created this revision.
mib added reviewers: JDevlieghere, jingham.
mib added a project: LLDB.
Herald added a subscriber: mgorny.
mib requested review of this revision.
Herald added a subscriber: lldb-commits.
This patch introduces a new utility class, SourceLocationSpec.
A source location specifier class holds a FileSpec object with
line and column information, the last one being optional.
It describes a specific location in a source file and allows the user
to perfom checks and comparaisons between multiple instances of that class.
Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D100962
Files:
lldb/include/lldb/Utility/SourceLocationSpec.h
lldb/source/Utility/CMakeLists.txt
lldb/source/Utility/SourceLocationSpec.cpp
lldb/unittests/Utility/CMakeLists.txt
lldb/unittests/Utility/SourceLocationSpecTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100962.339246.patch
Type: text/x-patch
Size: 19572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210421/6f2c65e1/attachment-0001.bin>
More information about the lldb-commits
mailing list