From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 6B70D3858C60 for ; Mon, 23 Oct 2023 15:24:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6B70D3858C60 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6B70D3858C60 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698074667; cv=none; b=Rx6d8P56/s08/a0WoInd/aYDaVGHw+LwdgbRFpz/rQQSpRLFJtV4hL1ExiAcGlQKMkdtwERbIl/gqivl8EFny9Z5YZxsE2HAJCuUVjvgqbMEb1aIHLKSrQsox3me5vuBI2leNuUGbS2+XEqRK0Af0EIc3JmiiU0la5AWZbosFOE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698074667; c=relaxed/simple; bh=xCYYRc0FypDEuq5qFKeyu4g24FEdBD9x+htqUNt06Lw=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=WUldiLcAiTUqsgPKR5MxTrh1p/umKBjF+M6GsCSKYSgqjwenRBgwciUGX8y+B/rx4SlMafr6B2xIP0jNrF/ke0X4v4695nx9Fhhu5O5dr02OhHxiapvuOVZyqI1inZDeSCDxFqf5MT0RbCWgGWdRTztp6dIacwjdGXtDXFFnsWo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698074666; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gQP1qGDChNSdnrOTP9khbzwicm79ybV0MQBKJH0poyE=; b=Do5i0zG4ooYef8gPWr/iJ7gj3+UA/oUzlozcaDn8RreEOZaCrhExB/vypx8R+xJexeEgos 8CQRPvRG+Sp1hwHR5tbefJnqW73orglOMm7obyGdFGZHAJKuHJt/yOONIVrmUVUzNL02MM ALZDPJYUEKTJJqW99c6wkewcQ8eCSW0= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-696-JhlFgViMN_-swXAAqVneFA-1; Mon, 23 Oct 2023 11:24:24 -0400 X-MC-Unique: JhlFgViMN_-swXAAqVneFA-1 Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-7788f0f099fso481448385a.1 for ; Mon, 23 Oct 2023 08:24:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698074664; x=1698679464; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gQP1qGDChNSdnrOTP9khbzwicm79ybV0MQBKJH0poyE=; b=aUG4xdq/uZErUqdLKu2wfdecuqy/KmFZIIEIMEg4pLS+kjvhyEaUrjRxVXrouat6qJ hoZBMBjcNzxq34lUOt71Dm7M0jmnY+WHSjegVJm0b/di50zso/kPH71PuovwuHehAt7Y v+p/WsdK4cZIMMr923IwFO8/AnqSJ0Rp7fpUyx6qQAwOt1fvikN9B72BjDTZO9KdeX+I n3/b6b0B5US5qtJKKquq5h5q9zfp2uDcWTkz/AZEMNC2B7LmhZAJTqSPdEwXmx/+ONR2 duLYt+fdLHrjd1K48OTJGKwRUb8Jl3nqAqNM5BCZaDpckqeoN/q/iPDGU9QoEy7KQhgV O+jg== X-Gm-Message-State: AOJu0YwrYbXqEVY4Wau/x06Xto5Q9H/3eCfrVl9IuTuk83PgJltq4kFx Wn4G+CBrjQ5/DW0tyLVy/hLOL82pP/IOLiXMUKq6PLp34n/VsEGt/hS+zKjH3nxLLiVzZ1WDK4u UESGkVB43L2ss X-Received: by 2002:a05:620a:280d:b0:778:9888:ae6e with SMTP id f13-20020a05620a280d00b007789888ae6emr10809964qkp.19.1698074664418; Mon, 23 Oct 2023 08:24:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG6k6xUx5eYRn26v6vPBgC/ce5klELq8YDzzJax/SPxRS8wUb5gjZZYddBTcEBp8IdUd87Pmw== X-Received: by 2002:a05:620a:280d:b0:778:9888:ae6e with SMTP id f13-20020a05620a280d00b007789888ae6emr10809949qkp.19.1698074664180; Mon, 23 Oct 2023 08:24:24 -0700 (PDT) Received: from [192.168.1.108] (130-44-146-16.s12558.c3-0.arl-cbr1.sbo-arl.ma.cable.rcncustomer.com. [130.44.146.16]) by smtp.gmail.com with ESMTPSA id r15-20020a05620a03cf00b007742c2ad7dfsm2774724qkm.73.2023.10.23.08.24.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Oct 2023 08:24:23 -0700 (PDT) Message-ID: <93cf61d9-fa46-4b8a-89bf-f51dacd7d0fa@redhat.com> Date: Mon, 23 Oct 2023 11:24:22 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 2/5] libcpp: add a function to determine UTF-8 validity of a C string To: David Malcolm , Ben Boeckel Cc: gcc-patches@gcc.gnu.org, nathan@acm.org, fortran@gcc.gnu.org, gcc@gcc.gnu.org, brad.king@kitware.com References: <20230125210636.2960049-1-ben.boeckel@kitware.com> <20230125210636.2960049-3-ben.boeckel@kitware.com> From: Jason Merrill In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 10/23/23 11:16, David Malcolm wrote: > On Wed, Jan 25, 2023 at 4:09 PM Ben Boeckel via Gcc wrote: >> >> This simplifies the interface for other UTF-8 validity detections when a >> simple "yes" or "no" answer is sufficient. >> >> libcpp/ >> >> * charset.cc: Add `_cpp_valid_utf8_str` which determines whether >> a C string is valid UTF-8 or not. >> * internal.h: Add prototype for `_cpp_valid_utf8_str`. >> >> Signed-off-by: Ben Boeckel > > [going through patches in patchwork] > > What's the status of this patch; did this ever get committed? It was superseded. Jason