[all-commits] [llvm/llvm-project] 635378: ExtractAPI: use zero-based indices for line/column...
QuietMisdreavus via All-commits
all-commits at lists.llvm.org
Tue Nov 14 03:46:26 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 63537872aefe845ba40770112d0a2cf0927f27b8
https://github.com/llvm/llvm-project/commit/63537872aefe845ba40770112d0a2cf0927f27b8
Author: QuietMisdreavus <QuietMisdreavus at users.noreply.github.com>
Date: 2023-11-14 (Tue, 14 Nov 2023)
Changed paths:
M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
M clang/test/ExtractAPI/anonymous_record_no_typedef.c
M clang/test/ExtractAPI/availability.c
M clang/test/ExtractAPI/bool.c
M clang/test/ExtractAPI/bool.cpp
M clang/test/ExtractAPI/class.cpp
M clang/test/ExtractAPI/class_template.cpp
M clang/test/ExtractAPI/class_template_param_inheritance.cpp
M clang/test/ExtractAPI/class_template_partial_spec.cpp
M clang/test/ExtractAPI/class_template_spec.cpp
M clang/test/ExtractAPI/concept.cpp
M clang/test/ExtractAPI/constructor_destructor.cpp
M clang/test/ExtractAPI/conversions.cpp
M clang/test/ExtractAPI/emit-symbol-graph/multi_file.c
M clang/test/ExtractAPI/emit-symbol-graph/single_file.c
M clang/test/ExtractAPI/enum.c
M clang/test/ExtractAPI/field_template.cpp
M clang/test/ExtractAPI/function_noexcepts.cpp
M clang/test/ExtractAPI/global_func_template.cpp
M clang/test/ExtractAPI/global_func_template_spec.cpp
M clang/test/ExtractAPI/global_record.c
M clang/test/ExtractAPI/global_record_multifile.c
M clang/test/ExtractAPI/global_var_template.cpp
M clang/test/ExtractAPI/global_var_template_partial_spec.cpp
M clang/test/ExtractAPI/global_var_template_spec.cpp
M clang/test/ExtractAPI/known_files_only.c
M clang/test/ExtractAPI/language.c
M clang/test/ExtractAPI/macro_undefined.c
M clang/test/ExtractAPI/macros.c
M clang/test/ExtractAPI/method_template.cpp
M clang/test/ExtractAPI/method_template_spec.cpp
M clang/test/ExtractAPI/methods.cpp
M clang/test/ExtractAPI/multiple_inheritance.cpp
M clang/test/ExtractAPI/namespace.cpp
M clang/test/ExtractAPI/nested_namespaces.cpp
M clang/test/ExtractAPI/objc_category.m
M clang/test/ExtractAPI/objc_id_protocol.m
M clang/test/ExtractAPI/objc_instancetype.m
M clang/test/ExtractAPI/objc_interface.m
M clang/test/ExtractAPI/objc_module_category.m
M clang/test/ExtractAPI/objc_property.m
M clang/test/ExtractAPI/objc_protocol.m
M clang/test/ExtractAPI/objc_various_categories.m
M clang/test/ExtractAPI/operator_overload.cpp
M clang/test/ExtractAPI/relative_include.m
M clang/test/ExtractAPI/simple_inheritance.cpp
M clang/test/ExtractAPI/struct.c
M clang/test/ExtractAPI/typedef.c
M clang/test/ExtractAPI/typedef_anonymous_record.c
M clang/test/ExtractAPI/typedef_chain.c
M clang/test/ExtractAPI/typedef_struct_enum.c
M clang/test/ExtractAPI/underscored.c
Log Message:
-----------
ExtractAPI: use zero-based indices for line/column in symbol graph (#71753)
Other implementations of the symbol graph format use zero-based indices
for source locations, which causes problems when combined with clang's
current one-based indices. This commit sets ExtractAPI's symbol graph
output to use zero-based indices to align with other implementations.
rdar://107639783
More information about the All-commits
mailing list