r371723 - Removed dead code from DiagnosticBuilder
Dmitri Gribenko via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 12 03:39:54 PDT 2019
Author: gribozavr
Date: Thu Sep 12 03:39:53 2019
New Revision: 371723
URL: http://llvm.org/viewvc/llvm-project?rev=371723&view=rev
Log:
Removed dead code from DiagnosticBuilder
Modified:
cfe/trunk/include/clang/Basic/Diagnostic.h
Modified: cfe/trunk/include/clang/Basic/Diagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Diagnostic.h?rev=371723&r1=371722&r2=371723&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Diagnostic.h (original)
+++ cfe/trunk/include/clang/Basic/Diagnostic.h Thu Sep 12 03:39:53 2019
@@ -1127,11 +1127,6 @@ public:
Emit();
}
- /// Retrieve an empty diagnostic builder.
- static DiagnosticBuilder getEmpty() {
- return {};
- }
-
/// Forces the diagnostic to be emitted.
const DiagnosticBuilder &setForceEmit() const {
IsForceEmit = true;
More information about the cfe-commits
mailing list