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; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits