Merge pull request #69877 from rintaro/parser-isforastgen

[Parse] Unguard Parser.IsForASTGen for SWIFT_BUILD_SWIFT_SYNTAX
This commit is contained in:
Rintaro Ishizaki
2023-11-15 10:47:39 -08:00
committed by GitHub

View File

@@ -159,10 +159,9 @@ public:
bool InSwiftKeyPath = false;
bool InFreestandingMacroArgument = false;
#if SWIFT_BUILD_SWIFT_SYNTAX
// This Parser is a fallback parser for ASTGen.
/// This Parser is a fallback parser for ASTGen.
// Note: This doesn't affect anything in non-SWIFT_BUILD_SWIFT_SYNTAX envs.
bool IsForASTGen = false;
#endif
// A cached answer to
// Context.LangOpts.hasFeature(Feature::NoncopyableGenerics)