diff options
author | Yitzhak Mandelbaum <yitzhakm@google.com> | 2020-01-06 11:00:44 -0500 |
---|---|---|
committer | Yitzhak Mandelbaum <yitzhakm@google.com> | 2020-01-17 12:11:25 -0500 |
commit | b9d2bf38e86e6dd8a2f188d9a24f546aa67de8af (patch) | |
tree | d167dce73aa11628a8a82145a6b8f4f8fbc14f6f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 522c030aa9b1dd1881feb5a0d0fa2639b4a5feb7 (diff) | |
download | llvm-b9d2bf38e86e6dd8a2f188d9a24f546aa67de8af.zip llvm-b9d2bf38e86e6dd8a2f188d9a24f546aa67de8af.tar.gz llvm-b9d2bf38e86e6dd8a2f188d9a24f546aa67de8af.tar.bz2 |
[libTooling] Fix bug in Stencil handling of macro ranges
Summary: Currently, an attempt to rewrite source code inside a macro expansion succeeds, but results in empty text, rather than failing with an error. This patch restructures to the code to explicitly validate ranges before attempting to edit them.
Reviewers: gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72274
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions