[llvm] e36e57b - [BUILD] Fix unicode build issue. (#135315)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 11 05:35:20 PDT 2025
Author: Harrison Hao
Date: 2025-04-11T20:35:16+08:00
New Revision: e36e57b478393a1c44ba1a2e3a2cff056e208c52
URL: https://github.com/llvm/llvm-project/commit/e36e57b478393a1c44ba1a2e3a2cff056e208c52
DIFF: https://github.com/llvm/llvm-project/commit/e36e57b478393a1c44ba1a2e3a2cff056e208c52.diff
LOG: [BUILD] Fix unicode build issue. (#135315)
Fix unicode build fail issue:
```
C4819 The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss ...\llvm-project\llvm\include\llvm\Support\Compiler.h
```
Added:
Modified:
llvm/include/llvm/Support/Compiler.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/Compiler.h b/llvm/include/llvm/Support/Compiler.h
index d3772896069cc..d265d864228ca 100644
--- a/llvm/include/llvm/Support/Compiler.h
+++ b/llvm/include/llvm/Support/Compiler.h
@@ -232,7 +232,7 @@
// Only enabled for clang:
// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99587
-// GCC may produce "warning: ‘retain’ attribute ignored" (despite
+// GCC may produce "warning: 'retain' attribute ignored" (despite
// __has_attribute(retain) being 1).
#if defined(__clang__) && __has_attribute(retain)
#define LLVM_ATTRIBUTE_RETAIN __attribute__((__retain__))
More information about the llvm-commits
mailing list