Commit Graph

5 Commits

Author SHA1 Message Date
practicalswift
50baf2e53b Use consistent formatting in top of file headers. 2016-01-04 02:17:48 +01:00
Zach Panzarino
e3a4147ac9 Update copyright date 2015-12-31 23:28:40 +00:00
Doug Gregor
894c1e6bfb One more getPtr() -> get().
Swift SVN r19609
2014-07-07 14:54:53 +00:00
Argyrios Kyrtzidis
ec570d7fac [libBasic] Dmitri caught that always static_casting the key to check for equality will break if the rest of
the cache traits do not provide a direct pointer to the key object.

Swift SVN r9651
2013-10-24 20:25:00 +00:00
Argyrios Kyrtzidis
49a5f53e19 [libBasic] Introduce a caching mechanism, that evicts its entries when there is memory pressure.
The underlying mechanism uses darwin's libcache library (if not building on darwin there is a default implementation).

This was originally introduced in SourceKit, but we are moving it to libswiftBasic so it can be utilized by libswiftIDE
for caching code-completion results.

Swift SVN r9610
2013-10-23 00:41:55 +00:00