Commit Graph

3 Commits

Author SHA1 Message Date
Doug Gregor
d762dd53f8 Stop parsing into IfConfiDecl nodes in the C++ parser
When parsing #if...#endif regions, parse the active clause directly into
place in the AST without ever producing an IfConfigDecl instance.
2024-09-18 20:51:09 -07:00
Argyrios Kyrtzidis
e605b93b8e [IDE] For swift file interface generation, print the active parts and ignore IfConfigStmts.
Swift SVN r30938
2015-08-02 21:58:47 +00:00
Argyrios Kyrtzidis
0bb52f0621 [IDE] Fix the 'preamble' top-comment printing when printing the swift source interface.
It erroneously printed out accessibility keyword of the first decl and did not take into
account comment whitespacing.

Swift SVN r30933
2015-08-02 20:46:38 +00:00