| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Move clang/Tooling/Core/Lookup.h to clang/Tooling/Refactoring/Lookup.h This allows removing the clangAST dependency from libclangToolingCore and therefore allows clang-format to be built without depending on clangAST. Before 1166 files had to be compiled for clang-format, now only 796. Reviewed By: bkramer Differential Revision: https://reviews.llvm.org/D89708 | 5 年前 | |
[libtooling][clang-tidy] Fix diagnostics not highlighting fed SourceRanges Fixes bug http://bugs.llvm.org/show_bug.cgi?id=49000. This patch allows Clang-Tidy checks to do diag(X->getLocation(), "text") << Y->getSourceRange(); and get the highlight of Y as expected: warning: text [blah-blah] xxx(something) ^ ~~~~~~~~~ Reviewed-By: aaron.ballman, njames93 Differential Revision: http://reviews.llvm.org/D98635 | 5 年前 | |
[clang] NFCI: Use FileEntryRef for FileID creation (#67838) This patch removes the SourceManager APIs that create FileID from a const FileEntry * in favor of APIs that take FileEntryRef. This also removes a misleading documentation that claims nullptr file entry represents stdin. I don't think that's right, since we just try to dereference that pointer anyways. | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 5 年前 | ||
| 5 年前 | ||
| 2 年前 |