This logic seems easier to follow without the Error() helper, and
checking DiagnosticsEngine::isDiagnosticInFlight just once up front.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D91366
Serialization: Hoist the check for in-flight diagnostics in ASTReader::getInputFile, NFC ClosedPublic Authored by dexonsmith on Nov 12 2020, 10:11 AM.
Details Summary This logic seems easier to follow without the Error() helper, and
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 13 2020, 12:42 AM Closed by commit rGd87fd096ac3e: Serialization: Hoist the check for in-flight diagnostics in ASTReader… (authored by dexonsmith). · Explain WhyNov 13 2020, 10:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 305209 clang/include/clang/Serialization/ASTReader.h
clang/lib/Serialization/ASTReader.cpp
|