The FixItList typedef should have been inside "class ClangDiagnostic".

llvm-svn: 265496
This commit is contained in:
Jim Ingham 2016-04-06 00:25:44 +00:00
parent b29c42f9eb
commit bbadf2b7e5
1 changed files with 2 additions and 1 deletions

View File

@ -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;