Commit Graph

2 Commits

Author SHA1 Message Date
Hamish Knight
bbb04aaa20 [test] Disable bridging PCH in a few tests
The new driver builds a PCH by default, which the
old driver didn't do. These tests don't expect a
PCH, so avoid building it.
2024-09-22 21:15:45 +01:00
Jordan Rose
dc45a8403c [ClangImporter] Carefully reset state after doing PCH validation (#15963)
This logic reuses parts of the main clang::CompilerInstance because
it's not necessarily cheap or convenient to set up a new one, but that
leaves us open to problems where Clang doesn't expect these objects to
go away. Fix the one people were hitting most recently (thanks, ASan!).

rdar://problem/38454494
2018-04-18 08:59:45 -07:00