Skip to content

Commit 4fed7c2

Browse files
authored
[lldb] Rename files ValueObjectSyntheticFilter to ValueObjectSynthetic (NFC) (#146784)
Change the name of `ValueObjectSyntheticFilter.{h,cpp}` to match the main type they declare and define: `ValueObjectSynthetic`.
1 parent 1aa6b99 commit 4fed7c2

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

lldb/include/lldb/DataFormatters/TypeSynthetic.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ class SyntheticChildrenFrontEnd {
5656
/// This function is assumed to always succeed and if it fails, the front-end
5757
/// should know to deal with it in the correct way (most probably, by refusing
5858
/// to return any children). The return value of \ref Update should actually
59-
/// be interpreted as "ValueObjectSyntheticFilter cache is good/bad". If this
59+
/// be interpreted as "ValueObjectSynthetic cache is good/bad". If this
6060
/// function returns \ref lldb::ChildCacheState::eReuse, \ref
61-
/// ValueObjectSyntheticFilter is allowed to use the children it fetched
62-
/// previously and cached. Otherwise, \ref ValueObjectSyntheticFilter must
61+
/// ValueObjectSynthetic is allowed to use the children it fetched
62+
/// previously and cached. Otherwise, \ref ValueObjectSynthetic must
6363
/// throw away its cache, and query again for children.
6464
virtual lldb::ChildCacheState Update() = 0;
6565

lldb/include/lldb/ValueObject/ValueObjectSyntheticFilter.h renamed to lldb/include/lldb/ValueObject/ValueObjectSynthetic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- ValueObjectSyntheticFilter.h ----------------------------*- C++ -*-===//
1+
//===-- ValueObjectSynthetic.h ----------------------------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

lldb/source/ValueObject/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ add_lldb_library(lldbValueObject
1414
ValueObjectList.cpp
1515
ValueObjectMemory.cpp
1616
ValueObjectRegister.cpp
17-
ValueObjectSyntheticFilter.cpp
17+
ValueObjectSynthetic.cpp
1818
ValueObjectUpdater.cpp
1919
ValueObjectVariable.cpp
2020
ValueObjectVTable.cpp

lldb/source/ValueObject/ValueObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#include "lldb/ValueObject/ValueObjectConstResult.h"
4747
#include "lldb/ValueObject/ValueObjectDynamicValue.h"
4848
#include "lldb/ValueObject/ValueObjectMemory.h"
49-
#include "lldb/ValueObject/ValueObjectSyntheticFilter.h"
49+
#include "lldb/ValueObject/ValueObjectSynthetic.h"
5050
#include "lldb/ValueObject/ValueObjectVTable.h"
5151
#include "lldb/lldb-private-types.h"
5252

lldb/source/ValueObject/ValueObjectSyntheticFilter.cpp renamed to lldb/source/ValueObject/ValueObjectSynthetic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
//===-- ValueObjectSyntheticFilter.cpp ------------------------------------===//
1+
//===-- ValueObjectSynthetic.cpp ------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "lldb/ValueObject/ValueObjectSyntheticFilter.h"
9+
#include "lldb/ValueObject/ValueObjectSynthetic.h"
1010

1111
#include "lldb/Core/Value.h"
1212
#include "lldb/DataFormatters/TypeSynthetic.h"

0 commit comments

Comments
 (0)