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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 34868 Build 34867: arc lint + arc unit
Event Timeline
Comment Actions
Looks good, aside from one question.
llvm/lib/Support/FileCheck.cpp | ||
---|---|---|
186 | Is the IsPseudo field here redundant now? Are there pseudo variables with a defined line number? |
Comment Actions
Address review comment
llvm/lib/Support/FileCheck.cpp | ||
---|---|---|
186 | No indeed and even if there as it's irrelevant. What matters is whether the Definition line number is same the current line. |
Is the IsPseudo field here redundant now? Are there pseudo variables with a defined line number?