The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. - [clang-format] Fix a bug in formatting goto labels in macros (#92494) · llvm/llvm-project@768118d
clang-format fix Browse files main (shadps4-emu/shadPS4#456) StevenMiller123 committed Aug 16, 2024 1 parent 9fce6f7 commit 2935ca0 Showing 1 changed file with 2 additions and 2 deletions. Whitespace Ignore whitespace Split Unified 4 changes: 2 additions & 2 deletions 4 src/core/...
=== @@ -707,8 +707,11 @@ int main(int argc, const char **argv) { errs() << "Clang-formatting " << LineNo << " files\n"; } - if (FileNames.empty()) + if (FileNames.empty()) { + if (!AssumeFileName.empty() && isIgnored(AssumeFileName)) --- owenca wrote: ```...
+ AfterType.AlwaysBreakAfterDefinitionReturnType = true; + verifyFormat("__attribute__((nodebug)) void\n" + "foo() {}\n", + AfterType); } TEST_F(FormatTest, UnderstandsEllipsis) { EMAIL PREFERENCEShttp://reviews.llvm.org/settings/panel/emailpreferences/ Index: lib/Format/TokenAnnotator....
@@ -445,8 +445,7 @@ vk::Format SurfaceFormat(AmdGpu::DataFormat data_format, AmdGpu::NumberFormat nu num_format == AmdGpu::NumberFormat::Unorm) { return vk::Format::eR16G16B16A16Unorm; } if (data_format == AmdGpu::DataFormat::Format8 && num_format == AmdGpu::NumberFormat::Uin...
2 changes: 2 additions & 0 deletions 2 .clang-format Original file line numberDiff line numberDiff line change @@ -22,6 +22,8 @@ IncludeBlocks: Regroup IncludeCategories: - Regex: '^[<"]cmConfigure\.h' Priority: -1 - Regex: '^<queue>' Priority: 1 - Regex: '^(<|")cm(ext...
[clang] [clang-format] Fix a crash on C# `goto case` (PR #113056) Owen Pan via cfe-commits Mon, 21 Oct 2024 18:50:27 -0700 https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/113056 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists...
- if (FormatTok->Previous->isNot(tok::identifier)) + if (!FormatTok->Previous || FormatTok->Previous->isNot(tok::identifier)) return false; // See if we are inside a property accessor. diff --git a/clang/unittests/Format/FormatTestCSharp.cpp b/clang/unittests/Format/FormatTestC...
LLVM backend implementation for the PIC architecture. Refer to this repo's wiki for more information ⤵ - [clang-format] Fix crashes in AlignArrayOfStructures (#72520) · llvm-pic/llvm-pic@f6c231c
Git l10n coordinator repo ('maint' and 'master' track l10n of the counterparts of git.git) - clang-format: fix typo in comment · l10n-tw/git-po@8f81532