-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Open
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'
Description
| Bugzilla Link | 9647 |
| Version | trunk |
| OS | Linux |
| Reporter | LLVM Bugzilla Contributor |
| CC | @tkremenek |
Extended Description
There are actually two issues:
-
For normal (C, C++) declarators it has been decided to report the extent start as the first token of the declaration specifier.
I would argue that for macro definitions, the extent start should fall on the '#' token / character. -
For a macro definition "#define FOO() ", the range end is reported to not include the parens. When I change it to "#define FOO () " (i.e. insert a whitespace), the parens are included, too.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'