Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
change-namespace/ChangeNamespace.cpp | ||
---|---|---|
387 ↗ | (On Diff #74038) | Maybe we can use findLocationAfterToken here? |
change-namespace/ChangeNamespace.cpp | ||
---|---|---|
387 ↗ | (On Diff #74038) | This doesn't seem to work in this case. Note that we are lexing from the beginning of NsDecl, which is namespace or inline, and the next token is not necessarily {. /// \brief Checks that the given token is the first token that occurs after the /// given location (this excludes comments and whitespace). Returns the location /// immediately after the specified token. If the token is not found or the /// location is inside a macro, the returned source location will be invalid. SourceLocation Lexer::findLocationAfterToken(...); |
Comment Actions
LGTM.
change-namespace/ChangeNamespace.cpp | ||
---|---|---|
387 ↗ | (On Diff #74038) | I see. Thanks for the clarification. |