[Lldb-commits] [lldb] r265496 - The FixItList typedef should have been inside "class ClangDiagnostic".
Jim Ingham via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 5 17:25:44 PDT 2016
Author: jingham
Date: Tue Apr 5 19:25:44 2016
New Revision: 265496
URL: http://llvm.org/viewvc/llvm-project?rev=265496&view=rev
Log:
The FixItList typedef should have been inside "class ClangDiagnostic".
Modified:
lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangDiagnostic.h
Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangDiagnostic.h?rev=265496&r1=265495&r2=265496&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangDiagnostic.h (original)
+++ lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangDiagnostic.h Tue Apr 5 19:25:44 2016
@@ -22,11 +22,12 @@
namespace lldb_private
{
-typedef std::vector<clang::FixItHint> FixItList;
class ClangDiagnostic : public Diagnostic
{
public:
+ typedef std::vector<clang::FixItHint> FixItList;
+
static inline bool classof(const ClangDiagnostic *) { return true; }
static inline bool classof(const Diagnostic *diag) {
return diag->getKind() == eDiagnosticOriginClang;
More information about the lldb-commits
mailing list