IDE: refactor USR generation to request evaluator model.

We refactor the existing USR generation code to use the request evaluator
model. Most part of this patch is NFC, however a slight difference is
using this model allows us to cache the calculated USRs in the evaluator.
This commit is contained in:
Xi Ge
2018-08-27 15:11:00 -07:00
parent a527e53e17
commit dd5f21b1d2
6 changed files with 79 additions and 18 deletions

View File

@@ -49,6 +49,7 @@ namespace swift {
HAS_TRIVIAL_DISPLAY(float);
HAS_TRIVIAL_DISPLAY(double);
HAS_TRIVIAL_DISPLAY(bool);
HAS_TRIVIAL_DISPLAY(std::string);
#undef HAS_TRIVIAL_DISPLAY