Skip to content

Commit dc65534

Browse files
committed
fixup! Fix comments for enabling -fmodles-driver and StandaloneDiag.
1 parent b615127 commit dc65534

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Driver/ModulesDriver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ StandaloneDiagnostic::StandaloneDiagnostic(const StoredDiagnostic &StoredDiag)
343343
/// Translates \c StandaloneDiag into a StoredDiagnostic, associating it with
344344
/// the provided FileManager and SourceManager.
345345
///
346-
/// Use this to translate a \c StandaloneDiagnostic into a form that can be
347-
/// emitted by the diagnostics engine.
346+
/// This allows the diagnostic to be emitted using the diagnostics engine, since
347+
/// StandaloneDiagnostics themselfs cannot be emitted directly.
348348
static StoredDiagnostic
349349
translateStandaloneDiag(FileManager &FileMgr, SourceManager &SrcMgr,
350350
StandaloneDiagnostic &&StandaloneDiag) {

0 commit comments

Comments
 (0)