summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-04-06 00:25:44 +0000
committerJim Ingham <jingham@apple.com>2016-04-06 00:25:44 +0000
commitbbadf2b7e574a636a5b7e01c705b785e113fd951 (patch)
tree79a359361232a309026caecc9d4aad3b12560346
parentb29c42f9ebedcc0ee6f977d4f399cdfe87d6d4c7 (diff)
downloadbcm5719-llvm-bbadf2b7e574a636a5b7e01c705b785e113fd951.tar.gz
bcm5719-llvm-bbadf2b7e574a636a5b7e01c705b785e113fd951.zip
The FixItList typedef should have been inside "class ClangDiagnostic".
llvm-svn: 265496
-rw-r--r--lldb/source/Plugins/ExpressionParser/Clang/ClangDiagnostic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangDiagnostic.h b/lldb/source/Plugins/ExpressionParser/Clang/ClangDiagnostic.h
index 6e3a5561ca6..8273bca105c 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/ClangDiagnostic.h
+++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangDiagnostic.h
@@ -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;
OpenPOWER on IntegriCloud