This is an archive of the discontinued LLVM Phabricator instance.

[clang] Fix the begin location of concepts specialization expression
ClosedPublic

Authored by arphaman on May 24 2022, 2:47 PM.

Details

Summary

The concept specialization expression should start at the nested qualifiers location when it has nested qualifiers.
This ensures that libclang reports correct source ranges that include all subexpressions when visiting the expression.

Diff Detail

Event Timeline

arphaman created this revision.May 24 2022, 2:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2022, 2:47 PM
Herald added a subscriber: ributzka. · View Herald Transcript
arphaman requested review of this revision.May 24 2022, 2:47 PM
arphaman retitled this revision from [clang] fix out of bounds access in an empty string when lexing a _Pragma with missing string token to [clang] Fix the begin location of concepts specialization expression.
arphaman edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.May 25 2022, 11:04 AM
This revision was landed with ongoing or failed builds.May 25 2022, 12:40 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2022, 12:40 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript