llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Aaron Ballman (AaronBallman)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/224276.diff


1 Files Affected:

- (modified) clang/lib/AST/ByteCode/Pointer.cpp (+1) 


``````````diff
diff --git a/clang/lib/AST/ByteCode/Pointer.cpp 
b/clang/lib/AST/ByteCode/Pointer.cpp
index 95344656511a1..dca2630138a4e 100644
--- a/clang/lib/AST/ByteCode/Pointer.cpp
+++ b/clang/lib/AST/ByteCode/Pointer.cpp
@@ -999,6 +999,7 @@ bool Pointer::hasSameBase(const Pointer &A, const Pointer 
&B) {
                  B.Opaque.Base.asVarDecl()->getMostRecentDecl();
     return false;
   }
+  llvm_unreachable("should have been handled by the fully covered switch");
 }
 
 bool Pointer::pointToSameBlock(const Pointer &A, const Pointer &B) {

``````````

</details>


https://github.com/llvm/llvm-project/pull/224276
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to