[PATCH] D36642: [Lexer] Report more precise skipped regions (PR34166)

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 8 14:39:35 PDT 2017


vsk updated this revision to Diff 114433.
vsk added a comment.
Herald added subscribers: kbarton, nemanjai.

- Add an 'EndifLoc' parameter to the SourceRangeSkipped callback so that indexing clients can preserve their existing behavior.
- I'll submit a follow-up patch which updates the pp-trace tests.


https://reviews.llvm.org/D36642

Files:
  include/clang/Lex/PPCallbacks.h
  include/clang/Lex/PreprocessingRecord.h
  include/clang/Lex/Preprocessor.h
  lib/CodeGen/CoverageMappingGen.cpp
  lib/CodeGen/CoverageMappingGen.h
  lib/Lex/PPDirectives.cpp
  lib/Lex/PreprocessingRecord.cpp
  test/CoverageMapping/preprocessor.c
  test/Index/skipped-ranges.c
  tools/libclang/Indexing.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36642.114433.patch
Type: text/x-patch
Size: 14569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170908/9e718051/attachment.bin>


More information about the cfe-commits mailing list