Author: Kazu Hirata
Date: 2024-11-24T16:37:23-08:00
New Revision: 2a5e3a67a0248db4a6981e343f0033a32ad4a577

URL: 
https://github.com/llvm/llvm-project/commit/2a5e3a67a0248db4a6981e343f0033a32ad4a577
DIFF: 
https://github.com/llvm/llvm-project/commit/2a5e3a67a0248db4a6981e343f0033a32ad4a577.diff

LOG: [AST] Fix a warning

This patch fixes:

  clang/lib/AST/APValue.cpp:1091:1: error: unused function
  'setLValueUninit' [-Werror,-Wunused-function]

Added: 
    

Modified: 
    clang/lib/AST/APValue.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/APValue.cpp b/clang/lib/AST/APValue.cpp
index bc5b05fde425ac..f9e08b70d6ab0a 100644
--- a/clang/lib/AST/APValue.cpp
+++ b/clang/lib/AST/APValue.cpp
@@ -1087,10 +1087,6 @@ void APValue::MakeArray(unsigned InitElts, unsigned 
Size) {
   Kind = Array;
 }
 
-static MutableArrayRef<APValue::LValuePathEntry>
-setLValueUninit(APValue::LValueBase B, const CharUnits &O, unsigned Size,
-                bool OnePastTheEnd, bool IsNullPtr);
-
 MutableArrayRef<const CXXRecordDecl *>
 APValue::setMemberPointerUninit(const ValueDecl *Member, bool IsDerivedMember,
                                 unsigned Size) {


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to