[PATCH] D25397: [change-namespace] don't miss comments in the beginning of a namespace block.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 11 03:53:50 PDT 2016
hokein added inline comments.
================
Comment at: change-namespace/ChangeNamespace.cpp:387
+ Token Tok;
+ while (!Lex->LexFromRawLexer(Tok) && Tok.isNot(tok::TokenKind::l_brace)) {
+ }
----------------
Maybe we can use `findLocationAfterToken` here?
https://reviews.llvm.org/D25397
More information about the cfe-commits
mailing list