[llvm] [BUILD] Fix unicode build issue. (PR #135315)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 10 21:12:41 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-support
Author: Harrison Hao (harrisonGPU)
<details>
<summary>Changes</summary>
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
```
---
Full diff: https://github.com/llvm/llvm-project/pull/135315.diff
1 Files Affected:
- (modified) llvm/include/llvm/Support/Compiler.h (+1-1)
``````````diff
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__))
``````````
</details>
https://github.com/llvm/llvm-project/pull/135315
More information about the llvm-commits
mailing list