This allows us to store more info about where we're emitting the remarks without cluttering LLVMContext.
Details
Details
- Reviewers
paquette anemet JDevlieghere hfinkel fhahn - Commits
- rGb8a847c0a3ed: Reland "[Remarks] Refactor remark diagnostic emission in a RemarkStreamer"
rC355514: Reland "[Remarks] Refactor remark diagnostic emission in a RemarkStreamer"
rL355514: Reland "[Remarks] Refactor remark diagnostic emission in a RemarkStreamer"
rG9052f50cb4c9: [Remarks] Refactor remark diagnostic emission in a RemarkStreamer
rL355507: [Remarks] Refactor remark diagnostic emission in a RemarkStreamer
rC355507: [Remarks] Refactor remark diagnostic emission in a RemarkStreamer
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
clang/lib/CodeGen/CodeGenAction.cpp | ||
---|---|---|
279 ↗ | (On Diff #189396) | This doesn't seem to "set a remark streamer", but rather create one. Shouldn't the method name reflect that, maybe something like createRemarkStreamer? Or is this a pattern used in the LLVMContext? |
llvm/include/llvm/IR/LLVMContext.h | ||
258 ↗ | (On Diff #189396) | You should probably mention that if a RemarkStreamer is set, it will be replaced. |
llvm/include/llvm/IR/RemarkStreamer.h | ||
1 ↗ | (On Diff #189396) | Old license |
llvm/lib/IR/RemarkStreamer.cpp | ||
1 ↗ | (On Diff #189396) | Old license |