[PATCH] D28218: Small optimizations for SourceManager::getFileID()
Alexander Shaposhnikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 6 15:00:26 PST 2017
alexshap added inline comments.
================
Comment at: lib/Basic/SourceManager.cpp:843
if (E.getOffset() <= SLocOffset) {
FileID Res = FileID::get(-int(I) - 2);
----------------
not particularly important (and unrelated to your changes) - nit - s /C-style cast / static_cast / ?
https://reviews.llvm.org/D28218
More information about the cfe-commits
mailing list