Skip to content

Commit 2a5e3a6

Browse files
[AST] Fix a warning
This patch fixes: clang/lib/AST/APValue.cpp:1091:1: error: unused function 'setLValueUninit' [-Werror,-Wunused-function]
1 parent cbdd14e commit 2a5e3a6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

clang/lib/AST/APValue.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,10 +1087,6 @@ void APValue::MakeArray(unsigned InitElts, unsigned Size) {
10871087
Kind = Array;
10881088
}
10891089

1090-
static MutableArrayRef<APValue::LValuePathEntry>
1091-
setLValueUninit(APValue::LValueBase B, const CharUnits &O, unsigned Size,
1092-
bool OnePastTheEnd, bool IsNullPtr);
1093-
10941090
MutableArrayRef<const CXXRecordDecl *>
10951091
APValue::setMemberPointerUninit(const ValueDecl *Member, bool IsDerivedMember,
10961092
unsigned Size) {

0 commit comments

Comments
 (0)