[clang] [clang][bytecode] Refactor Program::createGlobalString (PR #125467)

2025-02-03 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/125467 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][bytecode] Refactor Program::createGlobalString (PR #125467)

2025-02-03 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes Remove unnecesary narrow() calls, rename a variable and initialize the array as a whole instead of each element individually. --- Full diff: https://github.com/llvm/llvm-project/pull/125467.diff 1 Files Af

[clang] [clang][bytecode] Refactor Program::createGlobalString (PR #125467)

2025-02-02 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/125467 Remove unnecesary narrow() calls, rename a variable and initialize the array as a whole instead of each element individually. >From 20c472b39e94f51ed383a265f6c836f2b3276c50 Mon Sep 17 00:00:00 2001 From: =?UTF