diff options
author | Thomas Preud'homme <thomasp@graphcore.ai> | 2019-07-15 19:04:56 +0000 |
---|---|---|
committer | Thomas Preud'homme <thomasp@graphcore.ai> | 2019-07-15 19:04:56 +0000 |
commit | 99f2a108707ebf015571101b113fc03b30ad79b9 (patch) | |
tree | b20ad4a7b50fb54212f52b90db32e869304579ba /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 42e90ed7717e09a1e0fb21027e8346707b60c896 (diff) | |
download | llvm-99f2a108707ebf015571101b113fc03b30ad79b9.zip llvm-99f2a108707ebf015571101b113fc03b30ad79b9.tar.gz llvm-99f2a108707ebf015571101b113fc03b30ad79b9.tar.bz2 |
[FileCheck] Store line numbers as optional values
Summary:
Processing of command-line definition of variable and logic around
implicit not directives both reuse parsing code that expects a line
number to be defined. So far, a special line number of 0 was used for
those users of the parsing code where a line number does not make sense.
This commit instead represents line numbers as Optional values so that
they can be None for those cases.
Reviewers: jhenderson, chandlerc, jdenny, probinson, grimar, arichardson, rnk
Subscribers: JonChesterfield, rogfer01, hfinkel, kristina, rnk, tra, arichardson, grimar, dblaikie, probinson, llvm-commits, hiraditya
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64639
llvm-svn: 366109
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions