-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed
Labels
clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"code-cleanupgood first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contribute
Description
Commit bcd0350 renamed DeclaratorInfo to TypeSourceInfo. This left behind some cases like:
llvm-project/clang/lib/Sema/SemaTemplate.cpp
Line 952 in 66b4815
| TypeSourceInfo *DI; |
Where the variable name is now meaningless. I was quite confused the first time I stumbled into one of these. These variables should be renamed; something simple like replacing
DI with TSI will work just fine.
Doing a
git grep -n 'TypeSourceInfo.*DI'should find most of them (I see 33 hits running it locally).
Note: if you want to take on this issue, it's a good idea to post a comment saying you're looking into it, but you don't need to wait for anyone's approval to get started; just go for it!
Metadata
Metadata
Assignees
Labels
clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"code-cleanupgood first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contribute