Updating fuchsia-overloaded-operator check to not issue warnings for invalid locations.
Fixes PR35803.
Differential D41708
[clang-tidy] Update fuchsia-overloaded-operator to check for valid loc juliehockett on Jan 3 2018, 12:18 PM. Authored by
Details
Updating fuchsia-overloaded-operator check to not issue warnings for invalid locations. Fixes PR35803.
Diff Detail Event TimelineComment Actions LGTM with a minor suggestion to not call getLocStart() twice and a formatting fix. I think you should also ping @hans to get this pulled into the 6.0 branch once it's been commit.
Comment Actions Alex, do you think the fix is still OK for the 6.0 branch? Let me know, and I'll merge it. |
I think this code can be simplified to: