Before this change without any good reason Lexer::LangOpts is sometimes accessed by getter and another time read directly in Lexer functions.
Since getLangOpts is a bit more verbose prefer direct access to LangOpts member when possible.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I don't object to the change but it may me wonder if there would be a way to remove the apparent redundancy in the API here?
Comment Actions
Thank you all for review!
If you don't mind let me address getLangOpts() removal in follow-up change since this one as it is already got LG.