Re: [cfe-users] Clang-tidy lexer util issue.

2020-02-18 Thread Lewis, Cannada via cfe-users
I was able to solve my problem by making sure to get the expansion location before calling getPreviousToken. On Feb 17, 2020, at 5:42 PM, Lewis, Cannada mailto:canl...@sandia.gov>> wrote: I am trying to use the getPreviousToken function from clang-tools-extra

[cfe-users] Clang-tidy lexer util issue.

2020-02-17 Thread Lewis, Cannada via cfe-users
I am trying to use the getPreviousToken function from clang-tools-extra/clang-tidy/utils