Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 37114 Build 37113: arc lint + arc unit
Event Timeline
clang-tools-extra/clangd/SourceCode.cpp | ||
---|---|---|
318 | I dropped this function because it's just SM.isSpelledInSameFile | |
338 | this is an unrelated bug fix: E1 < E2, std::min() etc don't do anything sensible for SourceLocation | |
358 | This is half of the real fix: once we've hit the top of the macro tree, we should walk up the #include stack in case we find a common ancestor there. | |
443 | this is one part of the main fix: the start and endpoint may be in different real files in the presence of #include |
LGTM
clang-tools-extra/clangd/SourceCode.cpp | ||
---|---|---|
284 | nit: use this as a while condition? while(Offset-- && Buf[Offset] != '\n') |
clang-tools-extra/clangd/SourceCode.cpp | ||
---|---|---|
284 | Ooh, clever... a little too subtle for my taste though :-) |
nit: use this as a while condition?