mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Preserve whitespace and comments during lexing as Trivia"
This reverts commit d6e2b58382.
This commit is contained in:
@@ -24,10 +24,6 @@ namespace swift {
|
||||
class ModuleDecl;
|
||||
class SourceFile;
|
||||
|
||||
namespace syntax {
|
||||
class Trivia;
|
||||
}
|
||||
|
||||
namespace ide {
|
||||
|
||||
enum class SyntaxNodeKind : uint8_t {
|
||||
@@ -186,8 +182,6 @@ class SyntaxModelContext {
|
||||
struct Implementation;
|
||||
Implementation &Impl;
|
||||
|
||||
void addTrivia(const syntax::Trivia &T, std::vector<SyntaxNode> &Nodes);
|
||||
|
||||
public:
|
||||
explicit SyntaxModelContext(SourceFile &SrcFile);
|
||||
~SyntaxModelContext();
|
||||
|
||||
Reference in New Issue
Block a user