[clang] Fix build warning for '[X86] Support EGPR for inline assembly. (#92338)' (PR #93777)
via cfe-commits
cfe-commits at lists.llvm.org
Thu May 30 00:25:13 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Freddy Ye (FreddyLeaf)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/93777.diff
1 Files Affected:
- (modified) clang/lib/Basic/Targets/X86.cpp (+1)
``````````diff
diff --git a/clang/lib/Basic/Targets/X86.cpp b/clang/lib/Basic/Targets/X86.cpp
index 34d249ed27ce5..036a655a4d073 100644
--- a/clang/lib/Basic/Targets/X86.cpp
+++ b/clang/lib/Basic/Targets/X86.cpp
@@ -1765,6 +1765,7 @@ std::string X86TargetInfo::convertConstraint(const char *&Constraint) const {
// to the next constraint.
return std::string("^") + std::string(Constraint++, 2);
}
+ [[fallthrough]];
case 'j':
switch (Constraint[1]) {
default:
``````````
</details>
https://github.com/llvm/llvm-project/pull/93777
More information about the cfe-commits
mailing list