From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id E7053940D21 for ; Thu, 10 Aug 2023 00:24:04 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=2TbfXR34Kg1ALiR1m8SDRhiFF1hYpp6ttnB6ukyciSU=; c=relaxed/simple; d=groups.io; h=DKIM-Filter:From:To:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1691627043; v=1; b=JkIMzRE5cVE3uA3afuAIMrbJFirO4WNZzK8Yt2JynxwBNKQ70beHq3k3QmeoZs4yQok9Q8P/ OWHE7AuKggTOfCuAYo8VEalVt8bu2SlfoPIkJJuBpaEpckfFN6siBjLRpFcgAkPfNyyTJ/zIHNV gbG36RZ2iH/z56AFfTP1dktQ= X-Received: by 127.0.0.2 with SMTP id z1umYY7687511xTSF1VPPR1l; Wed, 09 Aug 2023 17:24:03 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web11.3571.1691616749229922428 for ; Wed, 09 Aug 2023 14:32:29 -0700 X-Received: from vivian-P520.redmond.corp.microsoft.com (unknown [131.107.1.251]) by linux.microsoft.com (Postfix) with ESMTPSA id B141220FC4C7 for ; Wed, 9 Aug 2023 14:32:28 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com B141220FC4C7 From: "VivianNK" To: devel@edk2.groups.io Subject: [edk2-devel] [PATCH v1 0/7] Uncrustify GoogleTest update Date: Wed, 9 Aug 2023 14:32:19 -0700 Message-ID: <20230809213226.1387-1-vnowkakeane@linux.microsoft.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,vnowkakeane@linux.microsoft.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: CUPwHcTI4sor0Ek2rBCr8mK0x7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=JkIMzRE5; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linux.microsoft.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Introduce cpp-specific formatting rules to Uncrustify for readability: * indent_class: indent lines inside of a class * indent_extern: indent lines inside of an extern Apply all Uncrustify formatting rules defined in the config to existing cpp and header files (GoogleTest files). Moving forward all GoogleTest files will be included in uncrustify formatting checks, leading to more consistency and greater readability. VivianNK (7): .pytool: Set uncrustify check to audit only .pytool: Add cpp support to uncrustify plugin MdeModulePkg: Applyy uncrustify formatting to relevant files. MdePkg: Apply uncrustify formatting to relevant files SecurityPkg: Apply uncrustify formatting to relevant files UnitTestFrameworkPkg: Apply uncrustify formatting to relevant files .pytool: Undo uncrustify check change .pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py = | 2 +- .pytool/Plugin/UncrustifyCheck/uncrustify.cfg = | 4 +- MdeModulePkg/Library/UefiSortLib/GoogleTest/UefiSortLibGoogleTest.cpp = | 37 +- MdeModulePkg/Test/Mock/Include/GoogleTest/Library/MockPciHostBridgeLib.h= | 4 +- MdeModulePkg/Test/Mock/Library/GoogleTest/MockPciHostBridgeLib/MockPciHo= stBridgeLib.cpp | 8 +- MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/SafeIntLibUintnIntnUnitTes= ts32.cpp | 114 ++-- MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/SafeIntLibUintnIntnUnitTes= ts64.cpp | 114 ++-- MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/TestBaseSafeIntLib.cpp = | 563 ++++++++++---------- MdePkg/Test/Mock/Include/GoogleTest/Library/MockHobLib.h = | 6 +- MdePkg/Test/Mock/Include/GoogleTest/Library/MockPeiServicesLib.h = | 6 +- MdePkg/Test/Mock/Include/GoogleTest/Library/MockUefiLib.h = | 4 +- MdePkg/Test/Mock/Include/GoogleTest/Library/MockUefiRuntimeServicesTable= Lib.h | 4 +- MdePkg/Test/Mock/Library/GoogleTest/MockHobLib/MockHobLib.cpp = | 40 +- MdePkg/Test/Mock/Library/GoogleTest/MockPeiServicesLib/MockPeiServicesLi= b.cpp | 52 +- MdePkg/Test/Mock/Library/GoogleTest/MockUefiLib/MockUefiLib.cpp = | 6 +- MdePkg/Test/Mock/Library/GoogleTest/MockUefiRuntimeServicesTableLib/Mock= UefiRuntimeServicesTableLib.cpp | 12 +- SecurityPkg/Library/SecureBootVariableLib/GoogleTest/SecureBootVariableL= ibGoogleTest.cpp | 205 ++++--- SecurityPkg/Test/Mock/Include/GoogleTest/Library/MockPlatformPKProtectio= nLib.h | 4 +- SecurityPkg/Test/Mock/Library/GoogleTest/MockPlatformPKProtectionLib/Moc= kPlatformPKProtectionLib.cpp | 4 +- UnitTestFrameworkPkg/Include/Library/GoogleTestLib.h = | 2 +- UnitTestFrameworkPkg/Test/GoogleTest/Sample/SampleGoogleTest/SampleGoogl= eTest.cpp | 76 +-- 21 files changed, 664 insertions(+), 603 deletions(-) --=20 2.41.0.windows.3 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107665): https://edk2.groups.io/g/devel/message/107665 Mute This Topic: https://groups.io/mt/100655288/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-