r181140 - ArrayRef<T>() -> None cleanup

Dmitri Gribenko gribozavr at gmail.com
Sat May 4 18:03:47 PDT 2013


Author: gribozavr
Date: Sat May  4 20:03:47 2013
New Revision: 181140

URL: http://llvm.org/viewvc/llvm-project?rev=181140&view=rev
Log:
ArrayRef<T>() -> None cleanup

Modified:
    cfe/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp

Modified: cfe/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp?rev=181140&r1=181139&r2=181140&view=diff
==============================================================================
--- cfe/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp (original)
+++ cfe/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp Sat May  4 20:03:47 2013
@@ -245,7 +245,7 @@ static void groupDiagnostics(const std::
                             SourceMgr::DK_Error,
                             Twine("group '") + Name +
                               "' is referred to anonymously",
-                            ArrayRef<SMRange>(),
+                            None,
                             InGroupRange.isValid() ? FixIt
                                                    : ArrayRef<SMFixIt>());
         SrcMgr.PrintMessage((*I)->ExplicitDef->getLoc().front(),





More information about the cfe-commits mailing list