[PATCH] D50740: [SourceManager] isPointWithin: avoid using isBeforeInTranslationUnit, compare buffer offsets directly for lexical correctness

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 16 15:29:18 PDT 2018


arphaman updated this revision to Diff 161132.
arphaman marked an inline comment as done.
arphaman added a comment.

- Use lambda
- Work with spelling locs


Repository:
  rC Clang

https://reviews.llvm.org/D50740

Files:
  include/clang/Basic/SourceManager.h
  lib/Basic/SourceManager.cpp
  unittests/Basic/SourceManagerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50740.161132.patch
Type: text/x-patch
Size: 8128 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180816/7103aa3e/attachment.bin>


More information about the cfe-commits mailing list