From a5477bbfab33db091086484dee8f3be02d9cf585 Mon Sep 17 00:00:00 2001 From: "benchan@chromium.org" Date: Fri, 30 Mar 2012 05:01:50 +0000 Subject: Fix class/struct mismatches in forward declarations. This patch fixes some compiler warnings when compiling with clang. BUG=none TEST=Compile with clang and run unit tests. Review URL: https://breakpad.appspot.com/368001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@937 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/google_breakpad/processor/minidump_processor.h | 2 +- src/google_breakpad/processor/source_line_resolver_interface.h | 2 +- src/google_breakpad/processor/stack_frame_cpu.h | 2 +- src/google_breakpad/processor/stackwalker.h | 2 +- src/google_breakpad/processor/symbol_supplier.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/google_breakpad/processor/minidump_processor.h b/src/google_breakpad/processor/minidump_processor.h index 384c60c1..3ed0ebff 100644 --- a/src/google_breakpad/processor/minidump_processor.h +++ b/src/google_breakpad/processor/minidump_processor.h @@ -42,7 +42,7 @@ class Minidump; class ProcessState; class SourceLineResolverInterface; class SymbolSupplier; -class SystemInfo; +struct SystemInfo; // Return type for Process() enum ProcessResult { PROCESS_OK, // The minidump was diff --git a/src/google_breakpad/processor/source_line_resolver_interface.h b/src/google_breakpad/processor/source_line_resolver_interface.h index 103f979e..9fe7ef4e 100644 --- a/src/google_breakpad/processor/source_line_resolver_interface.h +++ b/src/google_breakpad/processor/source_line_resolver_interface.h @@ -44,7 +44,7 @@ using std::string; struct StackFrame; struct WindowsFrameInfo; -struct CFIFrameInfo; +class CFIFrameInfo; class SourceLineResolverInterface { public: diff --git a/src/google_breakpad/processor/stack_frame_cpu.h b/src/google_breakpad/processor/stack_frame_cpu.h index 805b6bc3..cc6b0149 100644 --- a/src/google_breakpad/processor/stack_frame_cpu.h +++ b/src/google_breakpad/processor/stack_frame_cpu.h @@ -47,7 +47,7 @@ namespace google_breakpad { struct WindowsFrameInfo; -struct CFIFrameInfo; +class CFIFrameInfo; struct StackFrameX86 : public StackFrame { // ContextValidity has one entry for each relevant hardware pointer diff --git a/src/google_breakpad/processor/stackwalker.h b/src/google_breakpad/processor/stackwalker.h index 614e31b5..b184d025 100644 --- a/src/google_breakpad/processor/stackwalker.h +++ b/src/google_breakpad/processor/stackwalker.h @@ -54,7 +54,7 @@ class MinidumpContext; class SourceLineResolverInterface; struct StackFrame; class SymbolSupplier; -class SystemInfo; +struct SystemInfo; using std::set; diff --git a/src/google_breakpad/processor/symbol_supplier.h b/src/google_breakpad/processor/symbol_supplier.h index 26f5d7fa..8c4d7f71 100644 --- a/src/google_breakpad/processor/symbol_supplier.h +++ b/src/google_breakpad/processor/symbol_supplier.h @@ -39,7 +39,7 @@ namespace google_breakpad { using std::string; class CodeModule; -class SystemInfo; +struct SystemInfo; class SymbolSupplier { public: -- cgit v1.2.1