Skip to content

Commit 478eca3

Browse files
Merge pull request #9917 from adrian-prantl/remove-setting
[lldb] Remove references to obsolete setting
2 parents f4440d4 + 94c1b77 commit 478eca3

File tree

18 files changed

+10
-33
lines changed

18 files changed

+10
-33
lines changed

lldb/test/API/lang/swift/clangimporter/Werror/TestSwiftStripWerror.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class TestSwiftWerror(TestBase):
1010
# Don't run ClangImporter tests if Clangimporter is disabled.
1111
@expectedFailureAll(setting=('plugin.typesystem.clang.experimental-redecl-completion', 'true'))
1212
@skipIf(setting=('symbols.use-swift-clangimporter', 'false'))
13-
@skipIf(setting=('symbols.swift-precise-compiler-invocation', 'true'))
1413
@skipUnlessDarwin
1514
@swiftTest
1615
def test(self):

lldb/test/API/lang/swift/clangimporter/caching/TestSwiftClangImporterCaching.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ class TestSwiftClangImporterCaching(TestBase):
99

1010
# Don't run ClangImporter tests if Clangimporter is disabled.
1111
@skipIf(setting=('symbols.use-swift-clangimporter', 'false'))
12-
@skipIf(setting=('symbols.swift-precise-compiler-invocation', 'false'))
1312
@skipIf(setting=('plugin.typesystem.clang.experimental-redecl-completion', 'true'), bugnumber='rdar://128094135')
1413
@skipUnlessDarwin
1514
@swiftTest

lldb/test/API/lang/swift/clangimporter/config_macros/TestSwiftDedupMacros.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
class TestSwiftDedupMacros(TestBase):
2020
# Don't run ClangImporter tests if Clangimporter is disabled.
2121
@skipIf(setting=('symbols.use-swift-clangimporter', 'false'))
22-
@skipIf(setting=('symbols.swift-precise-compiler-invocation', 'true'))
2322
# NOTE: rdar://44201206 - This test may sporadically segfault. It's likely
2423
# that the underlying memory corruption issue has been addressed, but due
2524
# to the difficulty of reproducing the crash, we are not sure. If a crash

lldb/test/API/lang/swift/clangimporter/explicit_cc1/TestSwiftClangImporterExplicitCC1.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ class TestSwiftClangImporterExplicitCC1(TestBase):
99

1010
# Don't run ClangImporter tests if Clangimporter is disabled.
1111
@skipIf(setting=('symbols.use-swift-clangimporter', 'false'))
12-
@skipIf(setting=('symbols.swift-precise-compiler-invocation', 'false'))
1312
@skipIf(setting=('plugin.typesystem.clang.experimental-redecl-completion', 'true'), bugnumber='rdar://128094135')
1413
@skipUnlessDarwin
1514
@swiftTest

lldb/test/API/lang/swift/clangimporter/expr_import/TestSwiftExprImport.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
class TestSwiftExprImport(TestBase):
77
# Don't run ClangImporter tests if Clangimporter is disabled.
88
@skipIf(setting=('symbols.use-swift-clangimporter', 'false'))
9-
@skipIf(setting=('symbols.swift-precise-compiler-invocation', 'true'))
109
@swiftTest
1110
def test(self):
1211
"""Test error handling if the expression evaluator

lldb/test/API/lang/swift/clangimporter/hard_macro_conflict/TestSwiftHardMacroConflict.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ class TestSwiftHardMacroConflict(TestBase):
1111

1212
# Don't run ClangImporter tests if Clangimporter is disabled.
1313
@skipIf(setting=('symbols.use-swift-clangimporter', 'false'))
14-
@skipIf(setting=('symbols.swift-precise-compiler-invocation', 'true'))
1514
@skipUnlessDarwin
1615
@swiftTest
1716
def test(self):

lldb/test/API/lang/swift/clangimporter/headermap_conflict/TestSwiftHeadermapConflict.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
class TestSwiftHeadermapConflict(TestBase):
2121
@skipIf(bugnumber="rdar://60396797",
2222
setting=('symbols.use-swift-clangimporter', 'false'))
23-
@skipIf(setting=('symbols.swift-precise-compiler-invocation', 'true'))
2423
@skipUnlessDarwin
2524
@swiftTest
2625
def test(self):

lldb/test/API/lang/swift/clangimporter/include_conflict/TestSwiftIncludeConflict.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
class TestSwiftIncludeConflict(TestBase):
2121
# Don't run ClangImporter tests if Clangimporter is disabled.
2222
@skipIf(setting=('symbols.use-swift-clangimporter', 'false'))
23-
@skipIf(setting=('symbols.swift-precise-compiler-invocation', 'true'))
2423
@skipUnlessDarwin
2524
@swiftTest
2625
def test(self):

lldb/test/API/lang/swift/clangimporter/macro_conflict/TestSwiftMacroConflict.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
class TestSwiftMacroConflict(TestBase):
2121
# Don't run ClangImporter tests if Clangimporter is disabled.
2222
@skipIf(setting=('symbols.use-swift-clangimporter', 'false'))
23-
@skipIf(setting=('symbols.swift-precise-compiler-invocation', 'true'))
2423
@skipIf(bugnumber="rdar://121539666")
2524
@skipUnlessDarwin
2625
@swiftTest

lldb/test/API/lang/swift/clangimporter/objcmain_conflicting_dylibs_bridging_headers/TestSwiftObjCMainConflictingDylibsBridgingHeader.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ def test(self):
3939
'break here', lldb.SBFileSpec('Foo.swift'))
4040
process.Continue()
4141
self.expect("fr var foo", "expected result", substrs=["23"])
42-
precise = self.dbg.GetSetting('symbols.swift-precise-compiler-invocation').GetBooleanValue()
43-
if not precise:
44-
return
4542
# FIXME: This should work with precise compiler invocations.
4643
self.expect("expression foo", "expected result", substrs=["$R3", "23"])
4744
self.expect("expression $R3", "expected result", substrs=["23"])

lldb/test/API/lang/swift/clangimporter/rewrite_clang_paths/TestSwiftRewriteClangPaths.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
class TestSwiftRewriteClangPaths(TestBase):
2121
# Don't run ClangImporter tests if Clangimporter is disabled.
2222
@skipIf(setting=('symbols.use-swift-clangimporter', 'false'))
23-
@skipIf(setting=('symbols.swift-precise-compiler-invocation', 'false'))
2423
@skipUnlessDarwin
2524
@swiftTest
2625
@skipIf(debug_info=no_match(["dsym"]))
@@ -29,7 +28,6 @@ def testWithRemap(self):
2928

3029
# Don't run ClangImporter tests if Clangimporter is disabled.
3130
@skipIf(setting=('symbols.use-swift-clangimporter', 'false'))
32-
@skipIf(setting=('symbols.swift-precise-compiler-invocation', 'false'))
3331
@skipUnlessDarwin
3432
@swiftTest
3533
@skipIf(debug_info=no_match(["dsym"]))

lldb/test/API/lang/swift/cxx_interop/forward/langopt/TestSwiftForwardInteropCxxLangOpt.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
class TestSwiftForwardInteropCxxLangOpt(TestBase):
1010

1111
@swiftTest
12-
@expectedFailureAll(setting=('symbols.swift-precise-compiler-invocation', 'false'))
1312
def test_class(self):
1413
"""
1514
Test that C++ interoperability is enabled on a per-CU basis.

lldb/test/API/lang/swift/deployment_target/TestSwiftDeploymentTarget.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ def test_swift_deployment_target_from_macho(self):
6969
@skipUnlessDarwin # This test uses macOS triples explicitly.
7070
@skipIfDarwinEmbedded
7171
@skipIf(macos_version=["<", "11.1"])
72-
@skipIf(setting=("symbols.swift-precise-compiler-invocation", "false"))
7372
@swiftTest
7473
def test_swift_precise_compiler_invocation_triple(self):
7574
"""

lldb/test/API/lang/swift/late_expr_dylib/TestSwiftLateExprDylib.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ class TestSwiftLateDylib(TestBase):
77
@skipUnlessDarwin
88
@swiftTest
99
@skipIfDarwinEmbedded
10-
@skipIf(setting=('symbols.swift-precise-compiler-invocation', 'true'))
1110
@expectedFailureAll(setting=('plugin.typesystem.clang.experimental-redecl-completion', 'true'))
1211
def test(self):
1312
"""Test that a late loaded Swift dylib is debuggable"""

lldb/test/API/lang/swift/lazy_framework/TestSwiftLazyFramework.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ class TestSwiftLazyFramework(lldbtest.TestBase):
1212

1313
@swiftTest
1414
@skipIf(oslist=no_match(["macosx"]))
15-
@skipIf(setting=('symbols.swift-precise-compiler-invocation', 'true'))
1615
def test_system_framework(self):
1716
"""Test that a framework that is registered as autolinked in a Swift
1817
module used in the target, but not linked against the target is

lldb/test/API/lang/swift/private_import/TestSwiftPrivateImport.py

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,15 @@ def test_private_import(self):
2222
self, 'break here', lldb.SBFileSpec('main.swift'),
2323
extra_images=['Library', 'Invisible'])
2424

25-
precise = self.dbg.GetSetting('symbols.swift-precise-compiler-invocation').GetBooleanValue()
26-
if precise:
27-
# Test that importing the expression context (i.e., the module
28-
# "a") pulls in the explicit dependencies, but not their
29-
# private imports. This comes before the other checks,
30-
# because type reconstruction will still trigger an import of
31-
# the "Invisible" module that we can't prevent later one.
32-
self.expect("expression 1+1")
33-
self.filecheck('platform shell cat "%s"' % log, __file__)
34-
# CHECK: Module import remark: loaded module 'Library'
35-
# CHECK-NOT: Module import remark: loaded module 'Invisible'
25+
# Test that importing the expression context (i.e., the module
26+
# "a") pulls in the explicit dependencies, but not their
27+
# private imports. This comes before the other checks,
28+
# because type reconstruction will still trigger an import of
29+
# the "Invisible" module that we can't prevent later one.
30+
self.expect("expression 1+1")
31+
self.filecheck('platform shell cat "%s"' % log, __file__)
32+
# CHECK: Module import remark: loaded module 'Library'
33+
# CHECK-NOT: Module import remark: loaded module 'Invisible'
3634

3735
self.expect("fr var -d run -- x", substrs=["(Invisible.InvisibleStruct)"])
3836
self.expect("fr var -d run -- y", substrs=["(Library.Conforming)",

lldb/test/API/lang/swift/tagged_pointer/TestSwiftTaggedPointer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class TestSwiftTaggedPointer(lldbtest.TestBase):
1313
@skipUnlessDarwin
1414
# This test exposes a bug in DWARFImporterForClangTypes, which
1515
# doesn't do type completion correctly. (rdar://118337109)
16-
@skipIf(setting=('symbols.swift-precise-compiler-invocation', 'true'))
1716
def test(self):
1817
self.build()
1918
# On the bots only, Swift typesystem validation fails.

lldb/test/API/lang/swift/value_generics/main.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ func main() {
4343
v[2] = 2
4444
v[3] = 3
4545

46-
// break here
47-
print(v)
48-
46+
print(v) // break here
4947
}
5048
main()

0 commit comments

Comments
 (0)