mirror-llvm-project/clang/test/ExtractAPI
Patryk Stefanski 462b109cbc
[clang][ExtractAPI] Fix assertion on invalid UTF-8 in doc comments (#212394)
A doc comment can contain invalid UTF-8. The raw bytes reach
serializeDocComment, which assigned them to a llvm::json::Value,
tripping its valid-UTF-8 assertion. This is hit by legacy headers that
are not UTF-8 encoded, which compile fine but crash -extract-api.

Sanitize with json::isUTF8/fixUTF8 before serializing.

Fixes #212393
2026-07-28 16:36:34 +00:00
..
emit-symbol-graph
anonymous_record_no_typedef.c
attributed-typedef.m
availability-anyappleos.c [ExtractAPI] Add support for anyAppleOS (#197929) 2026-05-15 14:03:03 +00:00
availability.c [ExtractAPI] fix filecheck annotation (#92231) 2026-04-08 17:21:08 +01:00
availability_typedef_anonymous_record.c [ExtractAPI] Include availability attributes for anonymous typedefs (#209187) 2026-07-17 16:42:31 +01:00
bool.c
bool.cpp
class.cpp
class_template.cpp
class_template_param_inheritance.cpp
class_template_partial_spec.cpp
class_template_spec.cpp
concept.cpp
constructor_destructor.cpp
conversions.cpp
enum.c
field_template.cpp
function_noexcepts.cpp
global_func_template.cpp
global_func_template_spec.cpp
global_record.c
global_record_multifile.c
global_var_template.cpp
global_var_template_partial_spec.cpp
global_var_template_spec.cpp
ignored-symbols-multifile.c
ignored-symbols.c
inherited_availability.m
invalid_utf8_doc_comment.c [clang][ExtractAPI] Fix assertion on invalid UTF-8 in doc comments (#212394) 2026-07-28 16:36:34 +00:00
known_files_only.c
language.c
macro_doc_comments.c Associate documentation comments with macro definitions (#198452) 2026-05-21 14:49:40 -07:00
macro_undefined.c
macros.c
metadata_and_module.c
method_template.cpp
method_template_spec.cpp
methods.cpp
multiple_inheritance.cpp
namespace.cpp
nested_namespaces.cpp
non_type_template.cpp
objc_block.m
objc_category.m
objc_external_category.m
objc_id_protocol.m
objc_instancetype.m
objc_interface.m
objc_nullability.m [ExtractAPI] Include nullability attributes (#209221) 2026-07-17 16:42:46 +01:00
objc_property.m [ExtractAPI] fix filecheck annotation (#92231) 2026-04-08 17:21:08 +01:00
objc_protocol.m
operator_overload.cpp
platform-serialization.c
pointers.c
relative_include.m
simple_inheritance.cpp
struct.c
submodule-macro.m
type-alias.cpp
typedef.c
typedef_anonymous_record.c
typedef_chain.c
typedef_struct_enum.c
typedef_underscore.c
underscored.c
union.c
vfs_redirected_include.m