[cfe-commits] r140748 - /cfe/trunk/unittests/AST/APValueTest.cpp
Douglas Gregor
dgregor at apple.com
Wed Sep 28 17:53:49 PDT 2011
Author: dgregor
Date: Wed Sep 28 19:53:49 2011
New Revision: 140748
URL: http://llvm.org/viewvc/llvm-project?rev=140748&view=rev
Log:
Attempt to fix unit tests
Modified:
cfe/trunk/unittests/AST/APValueTest.cpp
Modified: cfe/trunk/unittests/AST/APValueTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/AST/APValueTest.cpp?rev=140748&r1=140747&r2=140748&view=diff
==============================================================================
--- cfe/trunk/unittests/AST/APValueTest.cpp (original)
+++ cfe/trunk/unittests/AST/APValueTest.cpp Wed Sep 28 19:53:49 2011
@@ -31,6 +31,10 @@
}
StringRef get() const { return LastDiagnostic; }
+
+ virtual DiagnosticConsumer *clone(DiagnosticsEngine &Diags) const {
+ return new LastDiagnosticString();
+ }
};
const IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs;
More information about the cfe-commits
mailing list