mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #34612 from xymus/dont-skip-nested-types
[Sema] Add flag to optimize building swiftmodule files preserving type info for LLDB
This commit is contained in:
@@ -687,7 +687,10 @@ public:
|
||||
|
||||
/// Skip a braced block (e.g. function body). The current token must be '{'.
|
||||
/// Returns \c true if the parser hit the eof before finding matched '}'.
|
||||
bool skipBracedBlock();
|
||||
///
|
||||
/// Set \c HasNestedTypeDeclarations to true if a token for a type
|
||||
/// declaration is detected in the skipped block.
|
||||
bool skipBracedBlock(bool &HasNestedTypeDeclarations);
|
||||
|
||||
/// Skip over SIL decls until we encounter the start of a Swift decl or eof.
|
||||
void skipSILUntilSwiftDecl();
|
||||
|
||||
Reference in New Issue
Block a user