From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by sourceware.org (Postfix) with ESMTPS id 28C293858D28 for ; Thu, 5 Jan 2023 22:36:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 28C293858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qt1-x82b.google.com with SMTP id c7so250511qtw.8 for ; Thu, 05 Jan 2023 14:36:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8xR+PeHTMX8puC383pkfDcLLN40+kWmNSQWhua5Nanc=; b=XSjyrHTQ5yWQS7zygbNuOg0t9MREYxEx/VIAymWVoDoO1rhQ1vy1rO/f//i8W1zuM6 djTn33T+2dYwlvUmxc93fM9SoK1r+K7w1dMpxS3lKMlopYADnUney9Qa+yLCbiroGqYz BMUuoabLTFGep7lPZhvgMOAS6X/9gJWk7uJG8E8BYjADiFAdUKVY5cGJjIpODskJYb6Y LqFALTZc6L/iPKf25FHhqlu+L4U1sxYgtGGFsAWPrqpzX9WCAftYq1mA5lgV35X1g/JB MSyegcMnSjrwvfMjUALzbjBhpG4JH2h+rseKlY2s4XzmAfdnhfKyjn4sAV4+AfxnYlWH nZfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8xR+PeHTMX8puC383pkfDcLLN40+kWmNSQWhua5Nanc=; b=kuSfTAWiMEg3Tso/0cOmQyYNKATEDLTwEMkyq3XFO39CxdDhefVzEFly/C54qXBlU3 Gw7aGsKtfXQHSpNMyL+KeyCBCJmjnrgVb4vqznf6sJ0opCh/MBP8QtVIFOgyJbVR/mYG CjXYcolHB2nrtv42uQnHVzOLqucNbyFhLLEQ5cWBvse7IkQInytziYgdf9WGnVW5VSlS PFQVahnkz/oUxoQehMHUSprV8f1MzQH4U3b6CGnRDuzrTN0EC4oiSDqbBjZBIKGMZpsZ gqUG0aHa6yFMXdCUbKiXwY7RHYGujJMYAttjNZmCt9mM0ZgiMhpin8ovQ2FRhmhNiIvM 888g== X-Gm-Message-State: AFqh2kql6g5Ng8KAdYPB4zHZbSxAw8z62BUJxxxJab1n56QYrPXbNkDF hB9gIhm3r6yS0Px4T+bgOnHymBY4Zhs= X-Google-Smtp-Source: AMrXdXvDmuYCmSS8r7kxi5KI/1x7ogKPoj8YZeEoehr0YOz1ObhtuwpXNnvJdx9oc0uJvA4FzBv50Q== X-Received: by 2002:ac8:1097:0:b0:3a5:7a30:bd22 with SMTP id a23-20020ac81097000000b003a57a30bd22mr60302907qtj.53.1672958192433; Thu, 05 Jan 2023 14:36:32 -0800 (PST) Received: from localhost.localdomain (96-67-140-173-static.hfc.comcastbusiness.net. [96.67.140.173]) by smtp.gmail.com with ESMTPSA id dm28-20020a05620a1d5c00b006e702033b15sm26289185qkb.66.2023.01.05.14.36.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Jan 2023 14:36:31 -0800 (PST) From: Lewis Hyatt To: gcc-patches@gcc.gnu.org Cc: David Malcolm , Lewis Hyatt Subject: [PATCH v2 0/4] diagnostics: libcpp: Overhaul locations for _Pragma tokens Date: Thu, 5 Jan 2023 17:36:04 -0500 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3032.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hello- This series contains the four remaining patches in the series originally sent here: https://gcc.gnu.org/pipermail/gcc-patches/2022-November/605029.html which implements improved locations for tokens lexed from a string inside a _Pragma directive. v2 1/4: diagnostics: libcpp: Add LC_GEN linemaps to support in-memory buffers This was formerly v1 4/6. It has been rewritten in line with that review, most recently discussed here: https://gcc.gnu.org/pipermail/gcc-patches/2022-November/606616.html v2 2/4: diagnostics: Handle generated data locations in edit_context This was formerly v1 5a/6. It has been approved already conditional on v2 1/4 as a prerequisite. v2 3/4: diagnostics: libcpp: Assign real locations to the tokens inside _Pragma strings This was formerly v1 6/6 and is unchanged from that one. It has not been reviewed yet. v2 4/4: diagnostics: Support generated data locations in SARIF output This was formerly v1 5c/6. It has not been fully reviewed yet. Thanks for taking a look! -Lewis