summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-12 23:50:34 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-12 23:50:34 +0000
commitdeb052a3dd0227579f86d74b3c1d70384ea5c16b (patch)
tree4ee06d7e75159efe0388799da1df5c27595aca84
parent460d16e126c4c7223926f5066567398ee2236651 (diff)
downloadllvm-deb052a3dd0227579f86d74b3c1d70384ea5c16b.tar.gz
llvm-deb052a3dd0227579f86d74b3c1d70384ea5c16b.tar.bz2
llvm-deb052a3dd0227579f86d74b3c1d70384ea5c16b.tar.xz
Match declaration to definition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75440 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm-c/ExecutionEngine.h2
-rw-r--r--include/llvm/Analysis/IVUsers.h2
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h2
-rw-r--r--include/llvm/Debugger/ProgramInfo.h2
-rw-r--r--lib/CodeGen/Spiller.h2
-rw-r--r--lib/ExecutionEngine/JIT/JIT.h2
-rw-r--r--tools/llvm-db/CLIDebugger.h2
7 files changed, 7 insertions, 7 deletions
diff --git a/include/llvm-c/ExecutionEngine.h b/include/llvm-c/ExecutionEngine.h
index 9877b8d509..05f2a892e2 100644
--- a/include/llvm-c/ExecutionEngine.h
+++ b/include/llvm-c/ExecutionEngine.h
@@ -104,7 +104,7 @@ void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global);
}
namespace llvm {
- class GenericValue;
+ struct GenericValue;
class ExecutionEngine;
#define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
diff --git a/include/llvm/Analysis/IVUsers.h b/include/llvm/Analysis/IVUsers.h
index e4820f0053..18e6fec97d 100644
--- a/include/llvm/Analysis/IVUsers.h
+++ b/include/llvm/Analysis/IVUsers.h
@@ -25,7 +25,7 @@ namespace llvm {
class DominatorTree;
class Instruction;
class Value;
-class IVUsersOfOneStride;
+struct IVUsersOfOneStride;
/// IVStrideUse - Keep track of one use of a strided induction variable, where
/// the stride is stored externally. The Offset member keeps track of the
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h
index e57b2adad5..ba53550499 100644
--- a/include/llvm/Analysis/ScalarEvolution.h
+++ b/include/llvm/Analysis/ScalarEvolution.h
@@ -164,7 +164,7 @@ namespace llvm {
};
friend class SCEVCallbackVH;
- friend class SCEVExpander;
+ friend struct SCEVExpander;
/// F - The function we are analyzing.
///
diff --git a/include/llvm/Debugger/ProgramInfo.h b/include/llvm/Debugger/ProgramInfo.h
index 5c07c866c8..8f31d7f135 100644
--- a/include/llvm/Debugger/ProgramInfo.h
+++ b/include/llvm/Debugger/ProgramInfo.h
@@ -30,7 +30,7 @@ namespace llvm {
class GlobalVariable;
class Module;
class SourceFile;
- class SourceLanguage;
+ struct SourceLanguage;
class ProgramInfo;
/// SourceLanguageCache - SourceLanguage implementations are allowed to cache
diff --git a/lib/CodeGen/Spiller.h b/lib/CodeGen/Spiller.h
index 9c3900df0b..f339336f61 100644
--- a/lib/CodeGen/Spiller.h
+++ b/lib/CodeGen/Spiller.h
@@ -14,7 +14,7 @@
namespace llvm {
- class LiveInterval;
+ struct LiveInterval;
class LiveIntervals;
class LiveStacks;
class MachineFunction;
diff --git a/lib/ExecutionEngine/JIT/JIT.h b/lib/ExecutionEngine/JIT/JIT.h
index c992509b08..1ad54f3780 100644
--- a/lib/ExecutionEngine/JIT/JIT.h
+++ b/lib/ExecutionEngine/JIT/JIT.h
@@ -20,7 +20,7 @@
namespace llvm {
class Function;
-class JITEvent_EmittedFunctionDetails;
+struct JITEvent_EmittedFunctionDetails;
class MachineCodeEmitter;
class MachineCodeInfo;
class TargetJITInfo;
diff --git a/tools/llvm-db/CLIDebugger.h b/tools/llvm-db/CLIDebugger.h
index 99045592ed..0595b3deba 100644
--- a/tools/llvm-db/CLIDebugger.h
+++ b/tools/llvm-db/CLIDebugger.h
@@ -21,7 +21,7 @@
namespace llvm {
class CLICommand;
class SourceFile;
- class SourceLanguage;
+ struct SourceLanguage;
class ProgramInfo;
class RuntimeInfo;
class LLVMContext;