> Unfortunately it's not easy to pull the caching into DiagnosticIDs, as the method using it are mostly static (and are used from places where I don't see a DiagnosticID in close proximity).
As far as I understand, the information contained in the cache should be known to TableGen during Clang compile-time? If yes -- why not just generate this cache with TableGen? http://llvm-reviews.chandlerc.com/D197 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
