It doesn't depend on instance specific data, so this would make it easier to use, for example here:
Details
Details
- Reviewers
rsmith xazax.hun - Commits
- rG53b5c13b9d83: Make DiagnosticIDs::getAllDiagnostics use std::vector. NFC.
rG328d3afc3b41: Make DiagnosticIDs::getAllDiagnostics static. NFC.
rL321190: Make DiagnosticIDs::getAllDiagnostics use std::vector. NFC.
rC321190: Make DiagnosticIDs::getAllDiagnostics use std::vector. NFC.
rC318150: Make DiagnosticIDs::getAllDiagnostics static. NFC.
rL318150: Make DiagnosticIDs::getAllDiagnostics static. NFC.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I like the idea of making functions that can be static, static. Could you update the usages of this function as well?
Comment Actions
Update usages of the function.
Checked with clang-tidy readability-static-accessed-through-instance.