diff options
-rw-r--r-- | utils/TableGen/ClangDiagnosticsEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/ClangDiagnosticsEmitter.cpp b/utils/TableGen/ClangDiagnosticsEmitter.cpp index 291eb75409..da15c93435 100644 --- a/utils/TableGen/ClangDiagnosticsEmitter.cpp +++ b/utils/TableGen/ClangDiagnosticsEmitter.cpp @@ -245,7 +245,7 @@ static void groupDiagnostics(const std::vector<Record*> &Diags, SourceMgr::DK_Error, Twine("group '") + Name + "' is referred to anonymously", - ArrayRef<SMRange>(), + None, InGroupRange.isValid() ? FixIt : ArrayRef<SMFixIt>()); SrcMgr.PrintMessage((*I)->ExplicitDef->getLoc().front(), |