aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-06-20 14:48:10 +0100
committerAleksey Kladov <[email protected]>2019-06-20 14:48:10 +0100
commit9ff872329add121839e5a3780c1aae16c1dec050 (patch)
treed69e73c284fb15d6685b8b81e5deba991838ff44 /crates/ra_ide_api/src
parentcd1ff2e2a11dd781e051060c650537802dfbbe99 (diff)
don' collect macros
Diffstat (limited to 'crates/ra_ide_api/src')
-rw-r--r--crates/ra_ide_api/src/change.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/crates/ra_ide_api/src/change.rs b/crates/ra_ide_api/src/change.rs
index ce03a0f95..895b1e966 100644
--- a/crates/ra_ide_api/src/change.rs
+++ b/crates/ra_ide_api/src/change.rs
@@ -226,9 +226,12 @@ impl RootDatabase {
226 226
227 self.query(ra_db::ParseQuery).sweep(sweep); 227 self.query(ra_db::ParseQuery).sweep(sweep);
228 self.query(hir::db::ParseMacroQuery).sweep(sweep); 228 self.query(hir::db::ParseMacroQuery).sweep(sweep);
229 self.query(hir::db::MacroDefQuery).sweep(sweep); 229
230 self.query(hir::db::MacroArgQuery).sweep(sweep); 230 // Macros do take significant space, but less then the syntax trees
231 self.query(hir::db::MacroExpandQuery).sweep(sweep); 231 // self.query(hir::db::MacroDefQuery).sweep(sweep);
232 // self.query(hir::db::MacroArgQuery).sweep(sweep);
233 // self.query(hir::db::MacroExpandQuery).sweep(sweep);
234
232 self.query(hir::db::AstIdMapQuery).sweep(sweep); 235 self.query(hir::db::AstIdMapQuery).sweep(sweep);
233 236
234 self.query(hir::db::RawItemsWithSourceMapQuery).sweep(sweep); 237 self.query(hir::db::RawItemsWithSourceMapQuery).sweep(sweep);