CCHIANG, YU-HSUN (Tommy Chiang, oToToT)[pp-trace] Print HashLoc in InclusionDirective callback
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[clang-tools-extra] [cmake] Link against libclang-cpp whenever possible Use clang_target_link_libraries() in order to support linking against libclang-cpp instead of static libraries. Differential Revision: https://reviews.llvm.org/D68448 llvm-svn: 373786 | 6 年前 | |
[pp-trace] Print HashLoc in InclusionDirective callback The HashLoc in InclusionDirective callback is an unused parameter. Since pp-trace is also used as a test of Clang’s PPCallbacks interface, add it to the output of pp-trace could avoid some unintended change on it. This shuold resolves PR52673 Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D125373 | 3 年前 | |
[clang][lex] NFCI: Use FileEntryRef in PPCallbacks::InclusionDirective() This patch changes type of the File parameter in PPCallbacks::InclusionDirective() from const FileEntry * to Optional<FileEntryRef>. With the API change in place, this patch then removes some uses of the deprecated FileEntry::getName() (e.g. in DependencyGraph.cpp and ModuleDependencyCollector.cpp). Reviewed By: dexonsmith, bnbarham Differential Revision: https://reviews.llvm.org/D123574 | 4 年前 | |
Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]]. NFC [[noreturn]] can be used since Oct 2016 when the minimum compiler requirement was bumped to GCC 4.8/MSVC 2015. | 4 年前 |