We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b615127 commit dc65534Copy full SHA for dc65534
clang/lib/Driver/ModulesDriver.cpp
@@ -343,8 +343,8 @@ StandaloneDiagnostic::StandaloneDiagnostic(const StoredDiagnostic &StoredDiag)
343
/// Translates \c StandaloneDiag into a StoredDiagnostic, associating it with
344
/// the provided FileManager and SourceManager.
345
///
346
-/// Use this to translate a \c StandaloneDiagnostic into a form that can be
347
-/// emitted by the diagnostics engine.
+/// This allows the diagnostic to be emitted using the diagnostics engine, since
+/// StandaloneDiagnostics themselfs cannot be emitted directly.
348
static StoredDiagnostic
349
translateStandaloneDiag(FileManager &FileMgr, SourceManager &SrcMgr,
350
StandaloneDiagnostic &&StandaloneDiag) {
0 commit comments