aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorThomas Preud'homme <thomasp@graphcore.ai>2019-07-15 19:04:56 +0000
committerThomas Preud'homme <thomasp@graphcore.ai>2019-07-15 19:04:56 +0000
commit99f2a108707ebf015571101b113fc03b30ad79b9 (patch)
treeb20ad4a7b50fb54212f52b90db32e869304579ba /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent42e90ed7717e09a1e0fb21027e8346707b60c896 (diff)
downloadllvm-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