hokein added a comment.

Some numbers of memory usage from running this on my machine:

| File             | Preamble AST | Main AST                                 |
| SemaDecl.cpp     | 14.5MB       | 108.1KB (symbols) + 16.5KB (occurrences) |
| CodeComplete.cpp | 15.4MB       | 53.9KB (symbols) + 7.3KB (occurrences)   |
|

The memory usage of `occurrences` is relatively small, I think it is fine to 
enable it by default.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D51279



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to